summaryrefslogtreecommitdiff
path: root/libavcodec/vp8.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-05-06 16:02:57 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-05-06 16:03:56 +0200
commit0a6b410edf7950afe4f27f9176d3cbd385db8261 (patch)
treecd4eee5f9b57eacabba4a3aeee0363c617f5a89f /libavcodec/vp8.c
parent890b874889bc58362a2422cb0f2d5c9b1d30a007 (diff)
avcodec/vp8: Suppress empty body warnings
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/vp8.c')
-rw-r--r--libavcodec/vp8.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/vp8.c b/libavcodec/vp8.c
index 8d6cbe1ef9..dbba5687f2 100644
--- a/libavcodec/vp8.c
+++ b/libavcodec/vp8.c
@@ -2259,8 +2259,8 @@ static void vp8_decode_mv_mb_modes(AVCodecContext *avctx, VP8Frame *cur_frame,
} \
} while (0)
#else
-#define check_thread_pos(td, otd, mb_x_check, mb_y_check)
-#define update_pos(td, mb_y, mb_x)
+#define check_thread_pos(td, otd, mb_x_check, mb_y_check) while(0)
+#define update_pos(td, mb_y, mb_x) while(0)
#endif
static av_always_inline void decode_mb_row_no_filter(AVCodecContext *avctx, void *tdata,