summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-06-26 18:34:56 +0000
committerMåns Rullgård <mans@mansr.com>2010-06-26 18:34:56 +0000
commitf30d51d74f06cefe1e8f47ea454b07b361401076 (patch)
tree968f23e2de461e5ea31bb91d5b169e027b997498
parent276fc8a4e269ed1375fc787b3b199a500a5a346d (diff)
ARM: fix build with TI compiler
The TI compiler defines __eabi__ to signal that ARM EABI is in use. We must check for this in addition to the gcc macro __ARM_EABI__. Originally committed as revision 23804 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/arm/asm-offsets.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/arm/asm-offsets.h b/libavcodec/arm/asm-offsets.h
index 43e638d3a5..c7285ac39a 100644
--- a/libavcodec/arm/asm-offsets.h
+++ b/libavcodec/arm/asm-offsets.h
@@ -29,7 +29,7 @@
#endif
/* MpegEncContext */
-#ifdef __ARM_EABI__
+#if defined(__ARM_EABI__) || defined(__eabi__)
#define Y_DC_SCALE 0xa54
#define C_DC_SCALE 0xa58
#define AC_PRED 0xa80