diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2023-09-12 15:47:42 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2023-09-15 13:08:37 +0200 |
commit | d2bc039501cdfe2067365ca1bf4be7201f071c05 (patch) | |
tree | 6e5b86aef80f94591c7e6f3574f90e560c711441 /libavformat/flac_picture.h | |
parent | 4f4dc0a1a29d3689ba8e73a08c13d4f2e152aad1 (diff) | |
download | ffmpeg-d2bc039501cdfe2067365ca1bf4be7201f071c05.tar.gz |
avcodec/error_resilience: Make applying decode_error_flags optional
Add a pointer parameter that if supplied will be used to return
the updated decode_error_flags. This will allow to fix several
races when using frame-threading; these resulted from AVFrame
that the earlier code updated concurrently being used as source
in an av_frame_ref() call in the decoder's update_thread_context.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavformat/flac_picture.h')
0 files changed, 0 insertions, 0 deletions