From 46430fd47c6239ef8742d0a34f9412d5060fa798 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 24 Jul 2012 04:05:18 +0200 Subject: vc1dec: Don't attempt error concealment on field pictures MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is not implemented and doesn't work. Signed-off-by: Martin Storsjö --- libavcodec/vc1dec.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libavcodec/vc1dec.c') diff --git a/libavcodec/vc1dec.c b/libavcodec/vc1dec.c index c434f695da..994f5df52c 100644 --- a/libavcodec/vc1dec.c +++ b/libavcodec/vc1dec.c @@ -5630,7 +5630,8 @@ static int vc1_decode_frame(AVCodecContext *avctx, void *data, get_bits_count(&s->gb), s->gb.size_in_bits); // if (get_bits_count(&s->gb) > buf_size * 8) // return -1; - ff_er_frame_end(&s->er); + if (!v->field_mode) + ff_er_frame_end(&s->er); } ff_MPV_frame_end(s); -- cgit v1.2.3