changeset 12200:b768afb88d1a libavcodec

Add some braces to silence the warning: libavcodec/vp8.c:892: warning: suggest explicit braces to avoid ambiguous `else'
author diego
date Tue, 20 Jul 2010 17:45:54 +0000
parents d66dc6f9cc55
children c4b53914f286
files vp8.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/vp8.c	Tue Jul 20 15:08:54 2010 +0000
+++ b/vp8.c	Tue Jul 20 17:45:54 2010 +0000
@@ -889,9 +889,9 @@
     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) {