diff options
author | Matti Hamalainen <ccr@tnsp.org> | 2013-02-18 02:49:45 +0100 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2013-02-18 02:49:45 +0100 |
commit | d61c6ebccfde3797a5d376e0f203550d7beb0576 (patch) | |
tree | 4b0e936ef7e7ba909c4f30e43d3016b3aaed76c4 | |
parent | b9a287f23700e133a6101f115e29253f444f42f8 (diff) | |
download | ffmpeg-d61c6ebccfde3797a5d376e0f203550d7beb0576.tar.gz |
svq3: unbreak decoding
a7d2861d36756b913e85681b86ed3385274e8ced removed necessary braces.
-rw-r--r-- | libavcodec/svq3.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/libavcodec/svq3.c b/libavcodec/svq3.c index 266e22f985..68bf2f7a55 100644 --- a/libavcodec/svq3.c +++ b/libavcodec/svq3.c @@ -550,20 +550,22 @@ static int svq3_decode_mb(SVQ3Context *svq3, unsigned int mb_type) if (svq3_mc_dir(h, mb_type - 1, mode, 0, 0) < 0) return -1; } else { /* AV_PICTURE_TYPE_B */ - if (mb_type != 2) + if (mb_type != 2) { if (svq3_mc_dir(h, 0, mode, 0, 0) < 0) return -1; - else + } else { for (i = 0; i < 4; i++) memset(s->current_picture.f.motion_val[0][b_xy + i * h->b_stride], 0, 4 * 2 * sizeof(int16_t)); - if (mb_type != 1) + } + if (mb_type != 1) { if (svq3_mc_dir(h, 0, mode, 1, mb_type == 3) < 0) return -1; - else + } else { for (i = 0; i < 4; i++) memset(s->current_picture.f.motion_val[1][b_xy + i * h->b_stride], 0, 4 * 2 * sizeof(int16_t)); + } } mb_type = MB_TYPE_16x16; |