aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/mpegenc.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2023-09-12 15:47:42 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2023-09-15 13:08:37 +0200
commitd2bc039501cdfe2067365ca1bf4be7201f071c05 (patch)
tree6e5b86aef80f94591c7e6f3574f90e560c711441 /libavformat/mpegenc.c
parent4f4dc0a1a29d3689ba8e73a08c13d4f2e152aad1 (diff)
downloadffmpeg-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/mpegenc.c')
0 files changed, 0 insertions, 0 deletions