mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-04 06:08:26 +02:00
Merge commit 'bd737b5178f361a9b592691848f29a7a79603a7e'
* commit 'bd737b5178f361a9b592691848f29a7a79603a7e': h264: reset the private data in init_thread_copy() Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
39c6834c12
@ -713,8 +713,8 @@ static int decode_init_thread_copy(AVCodecContext *avctx)
|
||||
|
||||
if (!avctx->internal->is_copy)
|
||||
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);
|
||||
if (ret < 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user