diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2017-03-31 11:27:20 -0400 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2017-04-13 02:29:26 +0200 |
commit | f5f0b2f44ce9df08f7a79b32d9209b23ba6b3447 (patch) | |
tree | 77a49a3a7ac449e7c1729c0644652013dcc810e7 /libavcodec/mdct_template.c | |
parent | e9fc7a90ba21f2fb2953f24375db2b81e891a6f2 (diff) | |
download | ffmpeg-f5f0b2f44ce9df08f7a79b32d9209b23ba6b3447.tar.gz |
ffmpeg: make transcode_init_done atomic.
Should fix tsan warnings in fate-fifo-muxer-h264/wav:
WARNING: ThreadSanitizer: data race (pid=26552)
Write of size 4 at 0x000001e0d7c0 by main thread:
#0 transcode_init src/ffmpeg.c:3761 (ffmpeg+0x00000050ca1c)
[..]
Previous read of size 4 at 0x000001e0d7c0 by thread T1:
#0 decode_interrupt_cb src/ffmpeg.c:460 (ffmpeg+0x0000004fde19)
(cherry picked from commit 76d8c77430e9e0110623705bfb54d922cc2ac3ea)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/mdct_template.c')
0 files changed, 0 insertions, 0 deletions