Mercurial > libavcodec.hg
comparison vp8.c @ 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 | 80b142c2e9f7 |
children | c4b53914f286 |
comparison
equal
deleted
inserted
replaced
12199:d66dc6f9cc55 | 12200:b768afb88d1a |
---|---|
887 else AV_COPY64(b,a); | 887 else AV_COPY64(b,a); |
888 | 888 |
889 XCHG(top_border_m1+8, src_y-8, xchg); | 889 XCHG(top_border_m1+8, src_y-8, xchg); |
890 XCHG(top_border, src_y, xchg); | 890 XCHG(top_border, src_y, xchg); |
891 XCHG(top_border+8, src_y+8, 1); | 891 XCHG(top_border+8, src_y+8, 1); |
892 if (mb_x < mb_width-1) | 892 if (mb_x < mb_width-1) { |
893 XCHG(top_border+32, src_y+16, 1); | 893 XCHG(top_border+32, src_y+16, 1); |
894 | 894 } |
895 // only copy chroma for normal loop filter | 895 // only copy chroma for normal loop filter |
896 // or to initialize the top row to 127 | 896 // or to initialize the top row to 127 |
897 if (!simple || !mb_y) { | 897 if (!simple || !mb_y) { |
898 XCHG(top_border_m1+16, src_cb-8, xchg); | 898 XCHG(top_border_m1+16, src_cb-8, xchg); |
899 XCHG(top_border_m1+24, src_cr-8, xchg); | 899 XCHG(top_border_m1+24, src_cr-8, xchg); |