summaryrefslogtreecommitdiff
path: root/libavcodec/cabac.h
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2007-10-12 09:38:34 +0000
committerDiego Biurrun <diego@biurrun.de>2007-10-12 09:38:34 +0000
commit1084771ac0f77d6cdcfc6f39e3a61dcb72001c4e (patch)
tree8fe38eee537847e8d635598ae53d26164eda363e /libavcodec/cabac.h
parent5e832bc28f8037edba509035294edc0e8b341e8b (diff)
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. Originally committed as revision 10715 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/cabac.h')
-rw-r--r--libavcodec/cabac.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/cabac.h b/libavcodec/cabac.h
index f4feb493d7..1a1d113ba1 100644
--- a/libavcodec/cabac.h
+++ b/libavcodec/cabac.h
@@ -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;