[FFmpeg-cvslog] r11601 - trunk/libavcodec/cabac.h

diego subversion
Wed Jan 23 11:19:39 CET 2008


Author: diego
Date: Wed Jan 23 11:19:39 2008
New Revision: 11601

Log:
Put some disabled functions that are only used in the test program in cabac.c
under TEST as preprocessor conditional, same as the test program.


Modified:
   trunk/libavcodec/cabac.h

Modified: trunk/libavcodec/cabac.h
==============================================================================
--- trunk/libavcodec/cabac.h	(original)
+++ trunk/libavcodec/cabac.h	Wed Jan 23 11:19:39 2008
@@ -90,7 +90,7 @@ static inline void renorm_cabac_encoder(
     }
 }
 
-#if 0
+#ifdef TEST
 static void put_cabac(CABACContext *c, uint8_t * const state, int bit){
     int RangeLPS= ff_h264_lps_range[2*(c->range&0xC0) + *state];
 
@@ -260,7 +260,7 @@ static void put_cabac_ueg(CABACContext *
             put_cabac_bypass(c, sign);
     }
 }
-#endif /* 0 */
+#endif /* TEST */
 
 static void refill(CABACContext *c){
 #if CABAC_BITS == 16




More information about the ffmpeg-cvslog mailing list