vc1dec: dont attempt error concealment on field pictures.

This is not implemented and doesnt work.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2012-07-24 04:05:18 +02:00
parent 2e346bdaba
commit 697edcc12a

View File

@ -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);