AVCodec.update_thread_context

Copy necessary context variables from a previous thread context to the current one. If not defined, the next thread will start automatically; otherwise, the codec must call ff_thread_finish_setup().

dst and src will (rarely) point to the same context, in which case memcpy should be skipped.

struct AVCodec
int function(AVCodecContext* dst, const(AVCodecContext)* src) update_thread_context;

Meta