aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vp8dsp.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-06-18 02:55:49 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-06-18 03:13:37 +0200
commitc89be82c986f02c504a45d1dfcb4ea5be644fb8e (patch)
treef1f92a6a9d210c7489096e63153f6c4bd9e69db7 /libavcodec/vp8dsp.c
parentaab23f5ddd3d25feb300049683437d9c1cd6336c (diff)
downloadffmpeg-c89be82c986f02c504a45d1dfcb4ea5be644fb8e.tar.gz
avcodec/vp8: fix () in macros
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/vp8dsp.c')
-rw-r--r--libavcodec/vp8dsp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vp8dsp.c b/libavcodec/vp8dsp.c
index f2a7f32079..e1a91bb8c6 100644
--- a/libavcodec/vp8dsp.c
+++ b/libavcodec/vp8dsp.c
@@ -254,7 +254,7 @@ MK_IDCT_DC_ADD4_C(vp8)
int av_unused q2 = p[ 2 * stride]; \
int av_unused q3 = p[ 3 * stride];
-#define clip_int8(n) (cm[n + 0x80] - 0x80)
+#define clip_int8(n) (cm[(n) + 0x80] - 0x80)
static av_always_inline void filter_common(uint8_t *p, ptrdiff_t stride,
int is4tap, int is_vp7)