[FFmpeg-cvslog] avcodec/vp8: Suppress empty body warnings

Michael Niedermayer git at videolan.org
Wed May 6 16:39:45 CEST 2015


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed May  6 16:02:57 2015 +0200| [0a6b410edf7950afe4f27f9176d3cbd385db8261] | committer: Michael Niedermayer

avcodec/vp8: Suppress empty body warnings

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0a6b410edf7950afe4f27f9176d3cbd385db8261
---

 libavcodec/vp8.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/vp8.c b/libavcodec/vp8.c
index 8d6cbe1..dbba568 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,



More information about the ffmpeg-cvslog mailing list