[FFmpeg-soc] [soc]: r3918 - dirac/libavcodec/dirac_arith.h

conrad subversion at mplayerhq.hu
Thu Jan 1 21:31:46 CET 2009


Author: conrad
Date: Thu Jan  1 21:31:46 2009
New Revision: 3918

Log:
Change ARITH_CONTEXT_COUNT from a macro to the last enum value.

Modified:
   dirac/libavcodec/dirac_arith.h

Modified: dirac/libavcodec/dirac_arith.h
==============================================================================
--- dirac/libavcodec/dirac_arith.h	Thu Jan  1 21:31:44 2009	(r3917)
+++ dirac/libavcodec/dirac_arith.h	Thu Jan  1 21:31:46 2009	(r3918)
@@ -30,8 +30,6 @@
 
 #include "bitstream.h"
 
-#define ARITH_CONTEXT_COUNT (ARITH_CONTEXT_DC_SIGN + 1)
-
 enum arith_context_indices {
     ARITH_CONTEXT_SIGN_ZERO,
     ARITH_CONTEXT_SIGN_POS,
@@ -72,7 +70,9 @@ enum arith_context_indices {
     ARITH_CONTEXT_DC_F1,
     ARITH_CONTEXT_DC_F2,
     ARITH_CONTEXT_DC_DATA,
-    ARITH_CONTEXT_DC_SIGN
+    ARITH_CONTEXT_DC_SIGN,
+
+    ARITH_CONTEXT_COUNT
 };
 
 typedef struct dirac_arith_state {



More information about the FFmpeg-soc mailing list