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>
pull/18/head
Michael Niedermayer 13 years ago committed by Martin Storsjö
parent 1bd57a850a
commit 46430fd47c
  1. 3
      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);

Loading…
Cancel
Save