mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-06-01 13:16:43 +02:00
ba9ef8d04e
thread_count passed to ff_thread_init() is only used to set AVCodecContext.
thread_count, and can be removed. Instead move it to the legacy implementation
of avcodec_thread_init().
This also fixes the problem that calling avcodec_thread_init() with pthreads
enabled did not set it since ff1efc524c.
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
3.9 KiB
3.9 KiB