]> git.sesse.net Git - ffmpeg/commit
pthread_frame: do not share priv_data between multiple codec contexts
authorAnton Khirnov <anton@khirnov.net>
Sun, 15 Jan 2017 13:52:04 +0000 (14:52 +0100)
committerAnton Khirnov <anton@khirnov.net>
Fri, 10 Apr 2020 13:44:15 +0000 (15:44 +0200)
commite40107c1ad12a53bb7d81538f35b85ed3d11c4b0
tree8d99ba12a99b7c0939efc4b39fc82cc914694b35
parent1f4cf92cfbd3accbae582ac63126ed5570ddfd37
pthread_frame: do not share priv_data between multiple codec contexts

Specifically, between the user-facing one and the first frame thread
one.

This is fragile and dangerous, allocate separate private data for each
per-thread context.
libavcodec/pthread_frame.c