[FFmpeg-cvslog] r24885 - trunk/libavutil/common.h

benoit subversion
Mon Aug 23 17:31:50 CEST 2010


Author: benoit
Date: Mon Aug 23 17:31:50 2010
New Revision: 24885

Log:
Add missing parentheses to AV_NE macro.

Modified:
   trunk/libavutil/common.h

Modified: trunk/libavutil/common.h
==============================================================================
--- trunk/libavutil/common.h	Mon Aug 23 16:46:59 2010	(r24884)
+++ trunk/libavutil/common.h	Mon Aug 23 17:31:50 2010	(r24885)
@@ -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



More information about the ffmpeg-cvslog mailing list