diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2017-04-05 16:18:54 -0400 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2017-04-13 02:29:26 +0200 |
commit | 9d742f774a85fa82cbfd667f69b0ba4d14556d54 (patch) | |
tree | a52c83427c844da1c9fb600324dc0e3505c987e5 /libavcodec/dcadec.h | |
parent | 5e84c94f6962e23b552809280bd89c70d4a7ef5e (diff) | |
download | ffmpeg-9d742f774a85fa82cbfd667f69b0ba4d14556d54.tar.gz |
vp8: make wait/thread_mb_pos atomic.
Fixes tsan warnings like this in fate-vp8-test-vector-007:
WARNING: ThreadSanitizer: data race (pid=3590)
Write of size 4 at 0x7d8c0000e07c by thread T2:
#0 decode_mb_row_no_filter src/libavcodec/vp8.c:2330 (ffmpeg+0x000000ffb59e)
[..]
Previous write of size 4 at 0x7d8c0000e07c by thread T1:
#0 decode_mb_row_no_filter src/libavcodec/vp8.c:2330 (ffmpeg+0x000000ffb59e)
(cherry picked from commit 9a54c6f243412f62bae498ddcac337cb18ae6290)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/dcadec.h')
0 files changed, 0 insertions, 0 deletions