Add missing parentheses to AV_NE macro.
authorBenoit Fouet <benoit.fouet@free.fr>
Mon, 23 Aug 2010 15:31:50 +0000 (15:31 +0000)
committerBenoit Fouet <benoit.fouet@free.fr>
Mon, 23 Aug 2010 15:31:50 +0000 (15:31 +0000)
Originally committed as revision 24885 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavutil/common.h

index ce2dc41..d054f87 100644 (file)
@@ -38,9 +38,9 @@
 #include "libavutil/avconfig.h"
 
 #if AV_HAVE_BIGENDIAN
-#   define AV_NE(be, le) be
+#   define AV_NE(be, le) (be)
 #else
-#   define AV_NE(be, le) le
+#   define AV_NE(be, le) (le)
 #endif
 
 //rounded division & shift