[FFmpeg-cvslog] lavc: provide deprecated avcodec_thread_init until next major version

Reimar Döffinger Reimar.Doeffinger at gmx.de
Fri Apr 22 07:45:21 CEST 2011


On Fri, Apr 22, 2011 at 03:58:45AM +0200, Anton Khirnov wrote:
> +#if FF_API_THREAD_INIT
> +int avcodec_thread_init(AVCodecContext *s, int thread_count)
> +{
> +    s->thread_count = thread_count;
> +    return ff_thread_init(s);
> +}
> +#endif

Note that we had a variant that actually worked properly before which
also set thread type to all both threading methods.


More information about the ffmpeg-cvslog mailing list