On 13/07/2020 12:31, Jean-Baptiste Kempf wrote:
> +
> +av_cold int ff_speedhq_encode_init(MpegEncContext *s)
> +{
Most of the stuff in this init function is global, and thus should be
done via ff_thread_once, and caps_internal should have FF_CODEC_CAP_INIT_THREADSAFE.
- Derek