]> git.sesse.net Git - ffmpeg/commitdiff
avcodec/vp8: Suppress empty body warnings
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 6 May 2015 14:02:57 +0000 (16:02 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 6 May 2015 14:03:56 +0000 (16:03 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/vp8.c

index 8d6cbe1ef937d59e8f368fb19a45b136aef7d762..dbba5687f251ae15dcd78452902feaf4f7f42bb1 100644 (file)
@@ -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,