diff options
author | Nuo Mi <nuomi2021@gmail.com> | 2024-08-25 12:35:46 +0800 |
---|---|---|
committer | Nuo Mi <nuomi2021@gmail.com> | 2024-09-03 21:32:27 +0800 |
commit | 3d2fafa2294bf0c1570b278c9d7dd8648a155e06 (patch) | |
tree | 3fd359bd836bad78331beb4e94e5157549a1e1b2 /libavcodec/microdvddec.c | |
parent | 54291f43837b23d9baa530652d2f1aa8a22db28e (diff) | |
download | ffmpeg-3d2fafa2294bf0c1570b278c9d7dd8648a155e06.tar.gz |
avcodec/vvcdec: fix potential deadlock in report_frame_progress
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.
Diffstat (limited to 'libavcodec/microdvddec.c')
0 files changed, 0 insertions, 0 deletions