On Mon, Sep 11, 2017 at 09:58:55AM -0400, Ronald S. Bultje wrote:
> Should fix the following tsan warning:
> 
> WARNING: ThreadSanitizer: data race (pid=19806)
>   Read of size 4 at 0x7b84000012f0 by thread T9:
>     #0 worker src/libavcodec/frame_thread_encoder.c:66 (ffmpeg+0x0000007f349e)
> [..]
>   Previous write of size 4 at 0x7b84000012f0 by main thread (mutexes: write 
> M1395):
>     #0 ff_frame_thread_encoder_free src/libavcodec/frame_thread_encoder.c:239 
> (ffmpeg+0x0000007f379e)
> [..]
> ---
>  libavcodec/frame_thread_encoder.c | 13 ++++++++-----
>  1 file changed, 8 insertions(+), 5 deletions(-)

LGTM

thanks

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Dictatorship naturally arises out of democracy, and the most aggravated
form of tyranny and slavery out of the most extreme liberty. -- Plato

Attachment: signature.asc
Description: Digital signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to