[SCM] libav/experimental: Add some braces to silence the warning: libavcodec/vp8.c:892: warning: suggest explicit braces to avoid ambiguous `else'

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 17:11:57 UTC 2013


The following commit has been merged in the experimental branch:
commit 153da88dfb791b4c3afa3f32d50864515481565b
Author: Diego Biurrun <diego at biurrun.de>
Date:   Tue Jul 20 17:45:54 2010 +0000

    Add some braces to silence the warning:
    libavcodec/vp8.c:892: warning: suggest explicit braces to avoid ambiguous `else'
    
    Originally committed as revision 24366 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/vp8.c b/libavcodec/vp8.c
index 031c845..a14e731 100644
--- a/libavcodec/vp8.c
+++ b/libavcodec/vp8.c
@@ -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) {

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list