aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/dirac_dwt_template.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2021-03-20 19:57:25 +0100
committerAnton Khirnov <anton@khirnov.net>2021-04-08 11:03:15 +0200
commit8d74baccff59192d395735036cd40a131a140391 (patch)
tree242eb9255afcf9b32c74e41c469059bf64bbcaa8 /libavcodec/dirac_dwt_template.c
parent89ea5057bf47880145419341258eadb3635448cf (diff)
downloadffmpeg-8d74baccff59192d395735036cd40a131a140391.tar.gz
lavc/pngdec: restructure exporting frame meta/side data
This data cannot be stored in PNGDecContext.picture, because the corresponding chunks may be read after the call to ff_thread_finish_setup(), at which point modifying shared context data is a race. Store intermediate state in the context and then write it directly to the output frame. Fixes exporting frame metadata after 5663301560 Fixes #8972 Found-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/dirac_dwt_template.c')
0 files changed, 0 insertions, 0 deletions