diff options
author | Janne Grunau <janne-libav@jannau.net> | 2012-12-09 19:19:51 +0100 |
---|---|---|
committer | Janne Grunau <janne-libav@jannau.net> | 2012-12-13 21:02:42 +0100 |
commit | 0eae920c3c49d1329ca22e5a8b5479fac354b55a (patch) | |
tree | 13df88542017cc76b25cfdaae85bbd612212281b | |
parent | 6a27ae28f9bde981e85c82cf5bf42c5f43fb6f13 (diff) | |
download | ffmpeg-0eae920c3c49d1329ca22e5a8b5479fac354b55a.tar.gz |
h264: initialize frame-mt context copies properly
-rw-r--r-- | libavcodec/h264.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c index e4887ffa67..12af8108fb 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; } |