[FFmpeg-soc] [soc]: r1597 - dirac/libavcodec/dirac_arith.c

marco subversion at mplayerhq.hu
Mon Dec 17 20:49:41 CET 2007


Author: marco
Date: Mon Dec 17 20:49:41 2007
New Revision: 1597

Log:
update the arithmetic coder initialization to as it is specified in the spec

Modified:
   dirac/libavcodec/dirac_arith.c

Modified: dirac/libavcodec/dirac_arith.c
==============================================================================
--- dirac/libavcodec/dirac_arith.c	(original)
+++ dirac/libavcodec/dirac_arith.c	Mon Dec 17 20:49:41 2007
@@ -66,7 +66,7 @@ static void dirac_arith_init_common(dira
     int i;
 
     arith->low   = 0;
-    arith->range = 0x10000;
+    arith->range = 0xFFFF;
 
     /* Initialize contexts.  */
     for (i = 0; i < ARITH_CONTEXT_COUNT; i++) {



More information about the FFmpeg-soc mailing list