aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2002-07-09 17:41:51 +0000
committerMichael Niedermayer <michaelni@gmx.at>2002-07-09 17:41:51 +0000
commit55cb1ae6fcd56146c0197fde948038d44bb01eec (patch)
tree09305547931ace3697d5e949f88795a32548810f
parent937683784dfc92f6ca3c7e5a139258dee4e17f42 (diff)
downloadffmpeg-55cb1ae6fcd56146c0197fde948038d44bb01eec.tar.gz
gcc3 bug workaround
Originally committed as revision 727 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/common.h b/libavcodec/common.h
index 8ad8a8e5c5..3af4755c1c 100644
--- a/libavcodec/common.h
+++ b/libavcodec/common.h
@@ -165,7 +165,7 @@ inline void dprintf(const char* fmt,...) {}
#define MAX(a,b) ((a) > (b) ? (a) : (b))
#define MIN(a,b) ((a) > (b) ? (b) : (a))
-#ifdef ARCH_X86
+#if defined ARCH_X86 && (__GNUC__ != 3 || __GNUC_MINOR__ > 1)
// inverse for shift optimization (gcc should do that ...)
#define INV32(a) (-a)
#else