changeset 7311:b5dacf4fc65b libavcodec

cosmetic: use hex value instead of decimal to show relation to 0x7FFFFF
author jbr
date Sat, 19 Jul 2008 02:54:54 +0000
parents 033d10927d45
children f9eaaadcd611
files ac3dec.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ac3dec.c	Sat Jul 19 02:53:57 2008 +0000
+++ b/ac3dec.c	Sat Jul 19 02:54:54 2008 +0000
@@ -437,7 +437,7 @@
         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: