Skip to content
Snippets Groups Projects
Commit ba9ef8d0 authored by Alexander Strange's avatar Alexander Strange Committed by Janne Grunau
Browse files

Remove unnecessary parameter from ff_thread_init() and fix behavior


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 ff1efc52.

Signed-off-by: default avatarJanne Grunau <janne-libav@jannau.net>
parent d6f66edd
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment