[FFmpeg-devel] [PATCH] Always read frame progress values under progress_mutex.

Hendrik Leppkes h.leppkes at gmail.com
Fri Feb 26 01:15:29 CET 2016


On Fri, Feb 26, 2016 at 1:06 AM, Wan-Teh Chang
<wtc-at-google.com at ffmpeg.org> wrote:
> This fixes data race warnings by ThreadSanitizer.
> ff_thread_report_progress and ff_thread_await_progress should read
> progress[field] only when holding progress_mutex because progress_mutex
> guards frame progress values.

Similar to the other patch, please explain what this actually fixes,
those sanitizer tools produce a lot of false positives and nonsensical
warnings.

- Hendrik


More information about the ffmpeg-devel mailing list