« Previous | Next » 

Revision 043d2ff2

Parent 03e3cb87
Child f94317fd

Added by Alexander Strange over 10 years ago

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: Ronald S. Bultje <>
(cherry picked from commit c0b102ca03fe92250f1ce620aec3836f529fc1d6)


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences