mirror of https://github.com/FFmpeg/FFmpeg.git
The generic code copies the main context's private data to all the others. However that is quite dangerous, as it might end up copying some pointers that are or will become invalid. Since everything we actually need will be copied later in update_thread_context(), it's safest to zero the private data in init_thread_copy(), so it works the same way as init for the main context.pull/130/head
parent
a939e5b252
commit
bd737b5178
1 changed files with 2 additions and 2 deletions
Loading…
Reference in new issue