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
___
This is heavily based on MPEG-2 encoder, of course.
---
Changelog | 1 +
doc/general.texi | 2 +-
libavcodec/Makefile| 1 +
libavcodec/allcodecs.c | 1 +
libavcodec/mpegutils.h | 1 +
libavcodec/mpegvideo.h | 3 +
libavcodec/mpegvideo_enc.
This is heavily based on MPEG-2 encoder, of course.
---
Changelog | 1 +
doc/general.texi | 2 +-
libavcodec/Makefile| 1 +
libavcodec/allcodecs.c | 1 +
libavcodec/mpegutils.h | 1 +
libavcodec/mpegvideo.h | 3 +++
libavcodec/mpegvideo_enc.c |