summaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-12-15 00:29:49 +0000
committerMans Rullgard <mans@mansr.com>2011-12-15 01:02:58 +0000
commitf7de52354fe15ba7cae141b44ffdd01e560f0e47 (patch)
treeece5859331298fe44c2cb5ba719690890b313355 /libavcodec
parent115a57302a7d6661426304bec3a5bc72d0edf4b0 (diff)
downloadffmpeg-streaming-f7de52354fe15ba7cae141b44ffdd01e560f0e47.zip
ffmpeg-streaming-f7de52354fe15ba7cae141b44ffdd01e560f0e47.tar.gz
ARM: dca: disable optimised decode_blockcodes() for old gcc
Old gcc versions have trouble compiling this function, and no simple, targeted test is possible. Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/arm/dca.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/arm/dca.h b/libavcodec/arm/dca.h
index 9ff7f7c..9b0efc0 100644
--- a/libavcodec/arm/dca.h
+++ b/libavcodec/arm/dca.h
@@ -25,7 +25,7 @@
#include "config.h"
#include "libavutil/intmath.h"
-#if HAVE_ARMV6 && HAVE_INLINE_ASM
+#if HAVE_ARMV6 && HAVE_INLINE_ASM && AV_GCC_VERSION_AT_LEAST(4,4)
#define decode_blockcodes decode_blockcodes
static inline int decode_blockcodes(int code1, int code2, int levels,
OpenPOWER on IntegriCloud