Mercurial > libavutil.hg
changeset 1005:f197db9ab43a libavutil
Add missing parentheses to AV_NE macro.
author | benoit |
---|---|
date | Mon, 23 Aug 2010 15:31:50 +0000 |
parents | 9a6cf721c0b6 |
children | 8c87d8df67e1 |
files | common.h |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/common.h Wed Aug 18 13:50:32 2010 +0000 +++ b/common.h Mon Aug 23 15:31:50 2010 +0000 @@ -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