Browse Source

Add missing parentheses in MKTAG and MKBETAG macros.

Originally committed as revision 23711 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/n0.8
Benoit Fouet 15 years ago
parent
commit
1c7c0e2d40
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      libavutil/common.h

+ 2
- 2
libavutil/common.h View File

@@ -178,8 +178,8 @@ static inline av_const int av_ceil_log2(int x)
return av_log2((x - 1) << 1);
}

#define MKTAG(a,b,c,d) (a | (b << 8) | (c << 16) | (d << 24))
#define MKBETAG(a,b,c,d) (d | (c << 8) | (b << 16) | (a << 24))
#define MKTAG(a,b,c,d) ((a) | ((b) << 8) | ((c) << 16) | ((d) << 24))
#define MKBETAG(a,b,c,d) ((d) | ((c) << 8) | ((b) << 16) | ((a) << 24))

/*!
* \def GET_UTF8(val, GET_BYTE, ERROR)


Loading…
Cancel
Save