[FFmpeg-cvslog] h264: initialize frame-mt context copies properly
Janne Grunau
git at videolan.org
Fri Dec 14 15:50:17 CET 2012
ffmpeg | branch: master | Janne Grunau <janne-libav at jannau.net> | Sun Dec 9 19:19:51 2012 +0100| [0eae920c3c49d1329ca22e5a8b5479fac354b55a] | committer: Janne Grunau
h264: initialize frame-mt context copies properly
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0eae920c3c49d1329ca22e5a8b5479fac354b55a
---
libavcodec/h264.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index e4887ff..12af810 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -1125,6 +1125,8 @@ static int decode_init_thread_copy(AVCodecContext *avctx)
memset(h->sps_buffers, 0, sizeof(h->sps_buffers));
memset(h->pps_buffers, 0, sizeof(h->pps_buffers));
+ h->s.context_initialized = 0;
+
return 0;
}
More information about the ffmpeg-cvslog
mailing list