vc1dec: Don't attempt error concealment on field pictures

This is not implemented and doesn't work.

Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
Michael Niedermayer 2012-07-24 04:05:18 +02:00 committed by Martin Storsjö
parent 1bd57a850a
commit 46430fd47c
1 changed files with 2 additions and 1 deletions

View File

@ -5630,7 +5630,8 @@ static int vc1_decode_frame(AVCodecContext *avctx, void *data,
get_bits_count(&s->gb), s->gb.size_in_bits); get_bits_count(&s->gb), s->gb.size_in_bits);
// if (get_bits_count(&s->gb) > buf_size * 8) // if (get_bits_count(&s->gb) > buf_size * 8)
// return -1; // return -1;
ff_er_frame_end(&s->er); if (!v->field_mode)
ff_er_frame_end(&s->er);
} }
ff_MPV_frame_end(s); ff_MPV_frame_end(s);