On Mon, Mar 30, 2015 at 10:42 AM, Anton Khirnov <[email protected]> wrote: > 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. > --- > libavcodec/h264.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-)
Sure. -- Vittorio _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
