Changeset bd737b51 in ffmpeg

Timestamp:
Apr 5, 2015, 10:03:07 AM (10 years ago)
Author:
Anton Khirnov <anton@khirnov.net>
Branches:
master
Children:
31048d48, 39c6834c
Parents:
a939e5b2
git-author:
Anton Khirnov <anton@khirnov.net> (03/29/15 10:26:45)
git-committer:
Anton Khirnov <anton@khirnov.net> (04/05/15 10:03:07)
Message:

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.

(No files)

Note: See TracChangeset for help on using the changeset viewer.