OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df8a7df
)
cosmetic: use hex value instead of decimal to show relation to 0x7FFFFF
author
Justin Ruggles
<justin.ruggles@gmail.com>
Sat, 19 Jul 2008 02:54:54 +0000
(
02:54
+0000)
committer
Justin Ruggles
<justin.ruggles@gmail.com>
Sat, 19 Jul 2008 02:54:54 +0000
(
02:54
+0000)
Originally committed as revision 14290 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/ac3dec.c
patch
|
blob
|
history
diff --git
a/libavcodec/ac3dec.c
b/libavcodec/ac3dec.c
index
bd1310b
..
8f62d7f
100644
(file)
--- a/
libavcodec/ac3dec.c
+++ b/
libavcodec/ac3dec.c
@@
-437,7
+437,7
@@
static void get_transform_coeffs_ch(AC3DecodeContext *s, int ch_index, mant_grou
tbap = bap[i];
switch (tbap) {
case 0:
- coeffs[i] = (av_random(&s->dith_state) & 0x7FFFFF) -
4194304
;
+ coeffs[i] = (av_random(&s->dith_state) & 0x7FFFFF) -
0x400000
;
break;
case 1: