[FFmpeg-devel] [PATCH] lagarith: assign correct per-thread value to LagarithContext::avctx.

Paul B Mahol onemda at gmail.com
Thu Mar 30 00:36:04 EEST 2017


On 3/29/17, Ronald S. Bultje <rsbultje at gmail.com> wrote:
> This fixes race conditions reported by tsan in fate-lagarith. The races
> were because each thread's LagarithContext::avctx was set to the first
> thread's AVCodecContext.
> ---
>  libavcodec/lagarith.c | 11 +++++++++++
>  1 file changed, 11 insertions(+)
>

LGTM


More information about the ffmpeg-devel mailing list