[FFmpeg-devel] [PATCH 27/39] avcodec/ituh263enc: Make static initializations thread-safe

Anton Khirnov anton at khirnov.net
Wed Feb 3 17:07:28 EET 2021


Just noticed
static int16_t basis[64][64];
in mpegvideo_enc.c, which will be accessed in a racy way if
quantizer_noise_shaping is enabled. This applies to all mpegvideo
encoders as far as I can tell.

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list