[FFmpeg-cvslog] r14290 - trunk/libavcodec/ac3dec.c

jbr subversion
Sat Jul 19 04:54:54 CEST 2008


Author: jbr
Date: Sat Jul 19 04:54:54 2008
New Revision: 14290

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

Modified:
   trunk/libavcodec/ac3dec.c

Modified: trunk/libavcodec/ac3dec.c
==============================================================================
--- trunk/libavcodec/ac3dec.c	(original)
+++ trunk/libavcodec/ac3dec.c	Sat Jul 19 04:54:54 2008
@@ -437,7 +437,7 @@ static void get_transform_coeffs_ch(AC3D
         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:




More information about the ffmpeg-cvslog mailing list