diff options
author | Anton Khirnov <anton@khirnov.net> | 2021-03-20 19:57:25 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2021-04-08 14:15:30 +0200 |
commit | 8ee432dc2365f11908c6535be7e076d9d298a9ad (patch) | |
tree | 54ebd905f1c78c77dd3f9b0afe176c86ee32dd18 /libavformat/vplayerdec.c | |
parent | 5f21bbed8a63efcd052c9a51fd235faa01ba793e (diff) | |
download | ffmpeg-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 'libavformat/vplayerdec.c')
0 files changed, 0 insertions, 0 deletions