diff ac3dec.c @ 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 e943e1409077
children 9309e19c2b98
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: