Commit 0eae920c authored by Janne Grunau's avatar Janne Grunau

h264: initialize frame-mt context copies properly

parent 6a27ae28
......@@ -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;
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