Skip to content
Snippets Groups Projects
Commit c0b102ca authored by Alexander Strange's avatar Alexander Strange Committed by Ronald S. Bultje
Browse files

Deprecate avcodec_thread_init()


As a side effect of the last commit, avcodec_open() now calls it automatically,
so there is no longer any need for clients to call it.
Instead they should set AVCodecContext.thread_count.

avcodec_thread_free() is deprecated, and will be removed from avcodec.h at the
next MAJOR libavcodec bump.

Rename the functions to ff_thread_init/free, since they are now internal.
Wrappers are provided to maintain API compatibility.

Signed-off-by: default avatarRonald S. Bultje <rsbultje@gmail.com>
parent 8e8cc52b
No related branches found
No related tags found
Loading
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