aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/common.h
diff options
context:
space:
mode:
authorBenoit Fouet <benoit.fouet@free.fr>2010-08-23 15:31:50 +0000
committerBenoit Fouet <benoit.fouet@free.fr>2010-08-23 15:31:50 +0000
commit573af7545e2c8f9951a7968a01c0790f02816388 (patch)
tree66127a49e4b77f6955cade20c8628f6e113e9efc /libavutil/common.h
parentc4ab519e0076ccbde2ea6a6e4e68916c84c6fc5d (diff)
downloadffmpeg-573af7545e2c8f9951a7968a01c0790f02816388.tar.gz
Add missing parentheses to AV_NE macro.
Originally committed as revision 24885 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/common.h')
-rw-r--r--libavutil/common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavutil/common.h b/libavutil/common.h
index ce2dc41300..d054f87c5b 100644
--- a/libavutil/common.h
+++ b/libavutil/common.h
@@ -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