aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mpeg4audio.h
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 14:15:30 +0200
commit8ee432dc2365f11908c6535be7e076d9d298a9ad (patch)
tree54ebd905f1c78c77dd3f9b0afe176c86ee32dd18 /libavcodec/mpeg4audio.h
parent5f21bbed8a63efcd052c9a51fd235faa01ba793e (diff)
downloadffmpeg-8ee432dc2365f11908c6535be7e076d9d298a9ad.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> (cherry picked from commit 8d74baccff59192d395735036cd40a131a140391) Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavcodec/mpeg4audio.h')
0 files changed, 0 insertions, 0 deletions