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

2017-03-29 Thread Paul B Mahol
On 3/29/17, Ronald S. Bultje 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,

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

2017-03-28 Thread Ronald S. Bultje
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(+) diff --git a/libavcodec/lagarith.c