arm/dca: Fix compilation of decode_blockcodes() with --enable-thumb
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 16 Sep 2012 17:05:23 +0000 (19:05 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 16 Sep 2012 17:06:11 +0000 (19:06 +0200)
Fix Suggested-by: Reimar
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/arm/dca.h

index 9b0efc0..05be789 100644 (file)
@@ -25,7 +25,7 @@
 #include "config.h"
 #include "libavutil/intmath.h"
 
-#if HAVE_ARMV6 && HAVE_INLINE_ASM && AV_GCC_VERSION_AT_LEAST(4,4)
+#if HAVE_ARMV6 && HAVE_INLINE_ASM && AV_GCC_VERSION_AT_LEAST(4,4) && !CONFIG_THUMB
 
 #define decode_blockcodes decode_blockcodes
 static inline int decode_blockcodes(int code1, int code2, int levels,