Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJanne Grunau <janne-libav@jannau.net>2012-12-09 22:19:51 +0400
committerJanne Grunau <janne-libav@jannau.net>2012-12-14 00:02:42 +0400
commit0eae920c3c49d1329ca22e5a8b5479fac354b55a (patch)
tree13df88542017cc76b25cfdaae85bbd612212281b /libavcodec
parent6a27ae28f9bde981e85c82cf5bf42c5f43fb6f13 (diff)
h264: initialize frame-mt context copies properly
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/h264.c2
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;
}