Commit 39c6834c authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit 'bd737b51'

* commit 'bd737b51':
  h264: reset the private data in init_thread_copy()
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 097efa47 bd737b51
...@@ -713,8 +713,8 @@ static int decode_init_thread_copy(AVCodecContext *avctx) ...@@ -713,8 +713,8 @@ static int decode_init_thread_copy(AVCodecContext *avctx)
if (!avctx->internal->is_copy) if (!avctx->internal->is_copy)
return 0; return 0;
memset(h->sps_buffers, 0, sizeof(h->sps_buffers));
memset(h->pps_buffers, 0, sizeof(h->pps_buffers)); memset(h, 0, sizeof(*h));
ret = h264_init_context(avctx, h); ret = h264_init_context(avctx, h);
if (ret < 0) if (ret < 0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment