[FFmpeg-cvslog] vc1dec: Don't attempt error concealment on field pictures
Michael Niedermayer
git at videolan.org
Wed May 15 09:53:40 CEST 2013
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Jul 24 04:05:18 2012 +0200| [46430fd47c6239ef8742d0a34f9412d5060fa798] | committer: Martin Storsjö
vc1dec: Don't attempt error concealment on field pictures
This is not implemented and doesn't work.
Signed-off-by: Martin Storsjö <martin at martin.st>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=46430fd47c6239ef8742d0a34f9412d5060fa798
---
libavcodec/vc1dec.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
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);
More information about the ffmpeg-cvslog
mailing list