summaryrefslogtreecommitdiff
path: root/libswscale/colorspace-test.c
diff options
context:
space:
mode:
authorAaron Colwell <acolwell@chromium.org>2012-03-18 20:03:00 -0700
committerRonald S. Bultje <rsbultje@gmail.com>2012-03-19 13:49:34 -0700
commit30011bf20109eef1a0f9ee949b19f9998ad88663 (patch)
tree0203aeb1506b9283453c47dd84ea840dedd19258 /libswscale/colorspace-test.c
parent18ba94c6f9e08fc71cb5c4944bc6e4e1196e4634 (diff)
vp8: avoid race condition on segment map.
This change avoids accessing the segment map of the previous frame if segmentation is not enabled for the current frame. The caller of decode_mb_mode() only calls ff_thread_await_progress() on the reference segmentation index array if segmentation is enabled, so Chromium's TSAN will report a race when accessing this data while segmentation is not enabled. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'libswscale/colorspace-test.c')
0 files changed, 0 insertions, 0 deletions