diff options
author | James Almer <jamrial@gmail.com> | 2025-05-16 16:54:52 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2025-05-22 19:28:35 -0300 |
commit | 8eae65dc5c8960c9770017737d968eca2aa7f502 (patch) | |
tree | b330f2bc95078c8f22c04e829e823e23eb36a359 /tests/utils.c | |
parent | d028cf03b875fc44be666e2155b92a2accdd4f1c (diff) | |
download | ffmpeg-8eae65dc5c8960c9770017737d968eca2aa7f502.tar.gz |
avcodec/lcevcdec: don't try to write to output frames directly
The buffer references may not be writable at this point, as the decoder
calls get_buffer2() with the AV_GET_BUFFER_FLAG_REF flag.
Fixes races as reported by tsan, producing correct output regardless of
threading choices.
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'tests/utils.c')
0 files changed, 0 insertions, 0 deletions