aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2008-07-19 02:54:54 +0000
committerJustin Ruggles <justin.ruggles@gmail.com>2008-07-19 02:54:54 +0000
commit7645da9194a5e06b5811e50c74ba506e4a762692 (patch)
tree14b4ff6db9ecccec5d01ad30b58dad980d4d2058
parentdf8a7dff29e21056e8f676b6aea02c62c11bae64 (diff)
downloadffmpeg-7645da9194a5e06b5811e50c74ba506e4a762692.tar.gz
cosmetic: use hex value instead of decimal to show relation to 0x7FFFFF
Originally committed as revision 14290 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/ac3dec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ac3dec.c b/libavcodec/ac3dec.c
index bd1310b1c4..8f62d7f5ca 100644
--- 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: