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>
pull/2/head
Mans Rullgard 13 years ago
parent 115a57302a
commit f7de52354f
  1. 2
      libavcodec/arm/dca.h

@ -25,7 +25,7 @@
#include "config.h" #include "config.h"
#include "libavutil/intmath.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 #define decode_blockcodes decode_blockcodes
static inline int decode_blockcodes(int code1, int code2, int levels, static inline int decode_blockcodes(int code1, int code2, int levels,

Loading…
Cancel
Save