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