changeset 5813:bc467895b8c9 libavcodec

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.
author diego
date Fri, 12 Oct 2007 09:38:34 +0000
parents 05e66f9c15bb
children 14a9ceb162d2
files cabac.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/cabac.h	Fri Oct 12 09:10:07 2007 +0000
+++ b/cabac.h	Fri Oct 12 09:38:34 2007 +0000
@@ -272,7 +272,7 @@
     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;