• Aaron Colwell's avatar
    vp8: avoid race condition on segment map. · 30011bf2
    Aaron Colwell authored
    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: 's avatarRonald S. Bultje <rsbultje@gmail.com>
    30011bf2
vp8.c 66.9 KB