ALT Linux Bugzilla
– Attachment 1990 Details for
Bug 11760
DTS (DCA) decoding is broken
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
[PATCH 05] dca: fix dca_bitalloc_index decoder init
0001-dca-fix-dca_bitalloc_index-decoder-init.patch (text/plain), 976 bytes, created by
Sergey Vlasov
on 2007-05-23 19:48:06 MSD
(
hide
)
Description:
[PATCH 05] dca: fix dca_bitalloc_index decoder init
Filename:
MIME Type:
Creator:
Sergey Vlasov
Created:
2007-05-23 19:48:06 MSD
Size:
976 bytes
patch
obsolete
>From 90050e73927ce1aa07f9c2ce61dfbbb68201e219 Mon Sep 17 00:00:00 2001 >From: Sergey Vlasov <vsu@altlinux.ru> >Date: Fri, 18 May 2007 11:01:08 +0400 >Subject: dca: fix dca_bitalloc_index decoder init > >One of Huffman codes used in dca_bitalloc_index has 10-bit codes, but >the decode table is built only for 9 bits, therefore the .wrap field >must be set to 2 for correct decoding. > >Signed-off-by: Sergey Vlasov <vsu@altlinux.ru> >--- > libavcodec/dca.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/libavcodec/dca.c b/libavcodec/dca.c >index 4f83705..86a9bfc 100644 >--- a/libavcodec/dca.c >+++ b/libavcodec/dca.c >@@ -186,7 +186,7 @@ static void dca_init_vlcs(void) > return; > > dca_bitalloc_index.offset = 1; >- dca_bitalloc_index.wrap = 1; >+ dca_bitalloc_index.wrap = 2; > for (i = 0; i < 5; i++) > init_vlc(&dca_bitalloc_index.vlc[i], bitalloc_12_vlc_bits[i], 12, > bitalloc_12_bits[i], 1, 1, >-- >1.5.2.47.g4fe5 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 11760
:
1961
|
1962
|
1963
|
1964
|
1969
| 1990