[FFmpeg-cvslog] r24366 - trunk/libavcodec/vp8.c

diego subversion
Tue Jul 20 19:45:55 CEST 2010


Author: diego
Date: Tue Jul 20 19:45:54 2010
New Revision: 24366

Log:
Add some braces to silence the warning:
libavcodec/vp8.c:892: warning: suggest explicit braces to avoid ambiguous `else'

Modified:
   trunk/libavcodec/vp8.c

Modified: trunk/libavcodec/vp8.c
==============================================================================
--- trunk/libavcodec/vp8.c	Tue Jul 20 18:23:25 2010	(r24365)
+++ trunk/libavcodec/vp8.c	Tue Jul 20 19:45:54 2010	(r24366)
@@ -889,9 +889,9 @@ else      AV_COPY64(b,a);
     XCHG(top_border_m1+8, src_y-8, xchg);
     XCHG(top_border,      src_y,   xchg);
     XCHG(top_border+8,    src_y+8, 1);
-    if (mb_x < mb_width-1)
+    if (mb_x < mb_width-1) {
         XCHG(top_border+32, src_y+16, 1);
-
+    }
     // only copy chroma for normal loop filter
     // or to initialize the top row to 127
     if (!simple || !mb_y) {



More information about the ffmpeg-cvslog mailing list