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

diego subversion
Fri Oct 12 11:38:34 CEST 2007


Author: diego
Date: Fri Oct 12 11:38:34 2007
New Revision: 10715

Log:
10l: refill2() is not unused, it is used conditionally.
Fix the preprocessor directives to enable refill2() only when the
conditions under which it is used apply.


Modified:
   trunk/libavcodec/cabac.h

Modified: trunk/libavcodec/cabac.h
==============================================================================
--- trunk/libavcodec/cabac.h	(original)
+++ trunk/libavcodec/cabac.h	Fri Oct 12 11:38:34 2007
@@ -272,7 +272,7 @@ static void refill(CABACContext *c){
     c->bytestream+= CABAC_BITS/8;
 }
 
-#if 0
+#if ! ( defined(ARCH_X86) && defined(HAVE_7REGS) && defined(HAVE_EBX_AVAILABLE) && !defined(BROKEN_RELOCATIONS) )
 static void refill2(CABACContext *c){
     int i, x;
 




More information about the ffmpeg-cvslog mailing list