Browse Source

vc1dec: dont attempt error concealment on field pictures.

This is not implemented and doesnt work.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.0
Michael Niedermayer 13 years ago
parent
commit
697edcc12a
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      libavcodec/vc1dec.c

+ 2
- 1
libavcodec/vc1dec.c 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);


Loading…
Cancel
Save