vc1dec: dont attempt error concealment on field pictures.

This is not implemented and doesnt work.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/28/head
Michael Niedermayer 12 years ago
parent 2e346bdaba
commit 697edcc12a
  1. 3
      libavcodec/vc1dec.c

@ -5638,7 +5638,8 @@ static int vc1_decode_frame(AVCodecContext *avctx, void *data,
// return -1;
if(s->error_occurred && s->pict_type == AV_PICTURE_TYPE_B)
goto err;
ff_er_frame_end(s);
if(!v->field_mode)
ff_er_frame_end(s);
}
ff_MPV_frame_end(s);

Loading…
Cancel
Save