diff options
author | Anton Khirnov <anton@khirnov.net> | 2015-03-29 12:26:45 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2015-04-05 12:03:07 +0200 |
commit | bd737b5178f361a9b592691848f29a7a79603a7e (patch) | |
tree | ff9e96643bdcc900d5af7f0072acd9c65a2c202a /libavcodec/arm | |
parent | a939e5b2527d0c4628815b1d3d8e29ee921227e8 (diff) | |
download | ffmpeg-bd737b5178f361a9b592691848f29a7a79603a7e.tar.gz |
h264: reset the private data in init_thread_copy()
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.
Diffstat (limited to 'libavcodec/arm')
0 files changed, 0 insertions, 0 deletions