From f30d51d74f06cefe1e8f47ea454b07b361401076 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5ns=20Rullg=C3=A5rd?= Date: Sat, 26 Jun 2010 18:34:56 +0000 Subject: [PATCH] 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 --- libavcodec/arm/asm-offsets.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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