gcc3 bug workaround

Originally committed as revision 727 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Michael Niedermayer 23 years ago
parent 937683784d
commit 55cb1ae6fc
  1. 2
      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

Loading…
Cancel
Save