Fix CHECK_BIDIR macro so it works with Intel's Compiler
authorMarco Manfredini <mldb@gmx.net>
Sat, 12 Aug 2006 16:31:17 +0000 (16:31 +0000)
committerGuillaume Poirier <gpoirier@mplayerhq.hu>
Sat, 12 Aug 2006 16:31:17 +0000 (16:31 +0000)
Patch by Marco Manfredini  mldb A gmx P net

Originally committed as revision 5989 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/motion_est.c

index 82b5f76..27e1225 100644 (file)
@@ -1670,7 +1670,7 @@ static inline int bidir_refine(MpegEncContext * s, int mb_x, int mb_y)
     }
 #define CHECK_BIDIR2(a,b,c,d)\
 CHECK_BIDIR(a,b,c,d)\
-CHECK_BIDIR(-a,-b,-c,-d)
+CHECK_BIDIR(-(a),-(b),-(c),-(d))
 
 #define CHECK_BIDIRR(a,b,c,d)\
 CHECK_BIDIR2(a,b,c,d)\