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 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".