diff options
author | Michael Niedermayer | 2014-06-18 02:54:57 +0200 |
---|---|---|
committer | Michael Niedermayer | 2014-06-18 03:13:36 +0200 |
commit | 28bf11150346cede3a65f5a00e12cc265e0ccd5a (patch) | |
tree | d72ecc296c98f9950fa1a6ec0619e631480d7d4a /libavcodec/wavpack.c | |
parent | d9a61ae31e8c55badd581f241c6d8c15ef8a49ce (diff) |
avcodec/wavpack: fix () in macros
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/wavpack.c')
-rw-r--r-- | libavcodec/wavpack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/wavpack.c b/libavcodec/wavpack.c index a2d82e6c2e..7c60f78b66 100644 --- a/libavcodec/wavpack.c +++ b/libavcodec/wavpack.c @@ -83,7 +83,7 @@ typedef struct WavpackContext { int ch_offset; } WavpackContext; -#define LEVEL_DECAY(a) ((a + 0x80) >> 8) +#define LEVEL_DECAY(a) (((a) + 0x80) >> 8) static av_always_inline int get_tail(GetBitContext *gb, int k) { |