Commit 46430fd4 authored by Michael Niedermayer's avatar Michael Niedermayer Committed by Martin Storsjö

vc1dec: Don't attempt error concealment on field pictures

This is not implemented and doesn't work.
Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
parent 1bd57a85
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment