[FFmpeg-soc] [soc]: r3034 - eac3/eac3dec.c

jbr subversion at mplayerhq.hu
Tue Aug 5 05:30:16 CEST 2008


Author: jbr
Date: Tue Aug  5 05:30:16 2008
New Revision: 3034

Log:
use hex value instead of decimal to show relationship to 0x7FFFFF

Modified:
   eac3/eac3dec.c

Modified: eac3/eac3dec.c
==============================================================================
--- eac3/eac3dec.c	(original)
+++ eac3/eac3dec.c	Tue Aug  5 05:30:16 2008
@@ -79,7 +79,7 @@ void ff_eac3_get_transform_coeffs_aht_ch
         if (!hebap) {
             /* zero-mantissa dithering */
             for (blk = 0; blk < 6; blk++) {
-                s->pre_mantissa[blk][ch][bin] = (av_random(&s->dith_state) & 0x7FFFFF) - 4194304;
+                s->pre_mantissa[blk][ch][bin] = (av_random(&s->dith_state) & 0x7FFFFF) - 0x400000;
             }
         } else if (hebap < 8) {
             /* Vector Quantization */



More information about the FFmpeg-soc mailing list