Fixes: https://fate.ffmpeg.org/report.cgi?slot=x86_64-archlinux-gcc-tsan&time=20240823175808 Reproduction steps: ./configure --enable-memory-poisoning --toolchain=gcc-tsan --disable-stripping && make fate-vvc Root cause: We hold the current frame's lock while updating progress for other frames, which also requires acquiring other frame locks. This could potentially lead to a deadlock. However, I don't think this will happen in practice because progress updates are one-way, with no cyclic dependencies. But we need this patch to make FATE happy. |
||
|---|---|---|
| .. | ||
| cabac.c | ||
| cabac.h | ||
| ctu.c | ||
| ctu.h | ||
| data.c | ||
| data.h | ||
| dec.c | ||
| dec.h | ||
| dsp.c | ||
| dsp.h | ||
| dsp_template.c | ||
| filter.c | ||
| filter.h | ||
| filter_template.c | ||
| inter.c | ||
| inter.h | ||
| inter_template.c | ||
| intra.c | ||
| intra.h | ||
| intra_template.c | ||
| intra_utils.c | ||
| itx_1d.c | ||
| itx_1d.h | ||
| Makefile | ||
| mvs.c | ||
| mvs.h | ||
| ps.c | ||
| ps.h | ||
| refs.c | ||
| refs.h | ||
| thread.c | ||
| thread.h | ||