[FFmpeg-devel] [PATCH 19/39] avcodec/mpegvideo_enc: Make mpv_encode_defaults thread-safe

Anton Khirnov anton at khirnov.net
Mon Jan 18 12:44:12 EET 2021


Quoting Andreas Rheinhardt (2020-12-10 12:16:37)
> This is a prerequisite for making any encoder that uses
> ff_mpv_encode_init() init-threadsafe; it already makes the AMV,
> the MJPEG and the MPEG-1/2 encoders init-threadsafe.
> 
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
> ---
>  libavcodec/mjpegenc.c      |  4 ++--
>  libavcodec/mpeg12enc.c     |  4 ++--
>  libavcodec/mpegvideo_enc.c | 15 +++++++++++----
>  3 files changed, 15 insertions(+), 8 deletions(-)

Ok

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list