summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-07-24 04:05:18 +0200
committerMartin Storsjö <martin@martin.st>2013-05-14 13:24:52 +0300
commit46430fd47c6239ef8742d0a34f9412d5060fa798 (patch)
treef48bad07c2bb86c2f0b30b9e2833f40d042473d0
parent1bd57a850a659ac0fcd235efe2191d0b3f1b5d54 (diff)
downloadffmpeg-streaming-46430fd47c6239ef8742d0a34f9412d5060fa798.zip
ffmpeg-streaming-46430fd47c6239ef8742d0a34f9412d5060fa798.tar.gz
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>
-rw-r--r--libavcodec/vc1dec.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/vc1dec.c b/libavcodec/vc1dec.c
index c434f69..994f5df 100644
--- a/libavcodec/vc1dec.c
+++ b/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);
OpenPOWER on IntegriCloud