diff options
author | Janne Grunau <janne-libav@jannau.net> | 2012-12-09 22:19:51 +0400 |
---|---|---|
committer | Janne Grunau <janne-libav@jannau.net> | 2012-12-14 00:02:42 +0400 |
commit | 0eae920c3c49d1329ca22e5a8b5479fac354b55a (patch) | |
tree | 13df88542017cc76b25cfdaae85bbd612212281b /libavcodec/h264.c | |
parent | 6a27ae28f9bde981e85c82cf5bf42c5f43fb6f13 (diff) |
h264: initialize frame-mt context copies properly
Diffstat (limited to 'libavcodec/h264.c')
-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; } |