[FFmpeg-cvslog] ARM: dca: disable optimised decode_blockcodes() for old gcc
Mans Rullgard
git at videolan.org
Fri Dec 16 01:32:11 CET 2011
ffmpeg | branch: master | Mans Rullgard <mans at mansr.com> | Thu Dec 15 00:29:49 2011 +0000| [f7de52354fe15ba7cae141b44ffdd01e560f0e47] | committer: Mans Rullgard
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 at mansr.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f7de52354fe15ba7cae141b44ffdd01e560f0e47
---
libavcodec/arm/dca.h | 2 +-
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,
More information about the ffmpeg-cvslog
mailing list