]> git.sesse.net Git - ffmpeg/commitdiff
ARM: fix build with TI compiler
authorMåns Rullgård <mans@mansr.com>
Sat, 26 Jun 2010 18:34:56 +0000 (18:34 +0000)
committerMåns Rullgård <mans@mansr.com>
Sat, 26 Jun 2010 18:34:56 +0000 (18:34 +0000)
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

libavcodec/arm/asm-offsets.h

index 43e638d3a59e0a01f5e1905025ec26c80c42ceb5..c7285ac39aafc3552085a27adf1c69d78ef2cdbf 100644 (file)
@@ -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