error_concealment: make sure mbaff flags are 0 as interlaced is not supported.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2012-04-19 12:09:33 +02:00
parent b7c2358f62
commit b066046046
1 changed files with 2 additions and 1 deletions

View File

@ -65,7 +65,8 @@ static void decode_mb(MpegEncContext *s, int ref)
fill_rectangle(&h->ref_cache[0][scan8[0]], 4, 4, 8, ref, 1);
fill_rectangle(h->mv_cache[0][scan8[0]], 4, 4, 8,
pack16to32(s->mv[0][0][0], s->mv[0][0][1]), 4);
assert(!FRAME_MBAFF);
h->mb_mbaff =
h->mb_field_decoding_flag = 0;
ff_h264_hl_decode_mb(h);
} else {
assert(ref == 0);