summaryrefslogtreecommitdiff
path: root/libavcodec/vc1dec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-07-24 04:05:18 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-07-24 04:12:18 +0200
commit697edcc12a0ab645f66378cee9549b80a40fe59c (patch)
tree93c7c3ab3d3933368ff999125797ae99ce18224f /libavcodec/vc1dec.c
parent2e346bdaba4e984ac3c54f38a9ee2a34ce4449b5 (diff)
vc1dec: dont attempt error concealment on field pictures.
This is not implemented and doesnt work. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/vc1dec.c')
-rw-r--r--libavcodec/vc1dec.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/vc1dec.c b/libavcodec/vc1dec.c
index a0a97ebff7..3debe52307 100644
--- a/libavcodec/vc1dec.c
+++ b/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);