diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2017-04-05 16:19:55 -0400 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2017-04-13 02:29:26 +0200 |
commit | 6557ea8e2bd768f5d82bce0fab28262437a292bf (patch) | |
tree | 362b14de8e61fbe95db7827d2231629d07967620 /libavcodec/h264_slice.c | |
parent | 9d742f774a85fa82cbfd667f69b0ba4d14556d54 (diff) | |
download | ffmpeg-6557ea8e2bd768f5d82bce0fab28262437a292bf.tar.gz |
vp8: make mv_min/max thread-local if using partition threading.
Fixes tsan warnings like this in fate-vp8-test-vector-007:
WARNING: ThreadSanitizer: data race (pid=65909)
Write of size 4 at 0x7d8c0000e088 by thread T1:
#0 vp8_decode_mb_row_sliced vp8.c:2519 (ffmpeg:x86_64+0x100995ede)
[..]
Previous write of size 4 at 0x7d8c0000e088 by thread T2:
#0 vp8_decode_mb_row_sliced vp8.c:2519 (ffmpeg:x86_64+0x100995ede)
(cherry picked from commit fed92adbb3fc6cbf735e3df9a2f7d0a2917fcfbd)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/h264_slice.c')
0 files changed, 0 insertions, 0 deletions