Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-06-18 04:55:49 +0400
committerMichael Niedermayer <michaelni@gmx.at>2014-06-18 05:13:37 +0400
commitc89be82c986f02c504a45d1dfcb4ea5be644fb8e (patch)
treef1f92a6a9d210c7489096e63153f6c4bd9e69db7 /libavcodec/vp8.c
parentaab23f5ddd3d25feb300049683437d9c1cd6336c (diff)
avcodec/vp8: fix () in macros
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/vp8.c')
-rw-r--r--libavcodec/vp8.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vp8.c b/libavcodec/vp8.c
index 6547eb90a5..79c401d354 100644
--- a/libavcodec/vp8.c
+++ b/libavcodec/vp8.c
@@ -2755,7 +2755,7 @@ static av_cold int vp8_decode_init_thread_copy(AVCodecContext *avctx)
return 0;
}
-#define REBASE(pic) pic ? pic - &s_src->frames[0] + &s->frames[0] : NULL
+#define REBASE(pic) ((pic) ? (pic) - &s_src->frames[0] + &s->frames[0] : NULL)
static int vp8_decode_update_thread_context(AVCodecContext *dst,
const AVCodecContext *src)