[FFmpeg-cvslog] r23804 - trunk/libavcodec/arm/asm-offsets.h

mru subversion
Sat Jun 26 20:34:56 CEST 2010


Author: mru
Date: Sat Jun 26 20:34:56 2010
New Revision: 23804

Log:
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__.

Modified:
   trunk/libavcodec/arm/asm-offsets.h

Modified: trunk/libavcodec/arm/asm-offsets.h
==============================================================================
--- trunk/libavcodec/arm/asm-offsets.h	Sat Jun 26 20:14:31 2010	(r23803)
+++ trunk/libavcodec/arm/asm-offsets.h	Sat Jun 26 20:34:56 2010	(r23804)
@@ -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



More information about the ffmpeg-cvslog mailing list