diff options
| author | Anton Khirnov <anton@khirnov.net> | 2021-03-20 19:57:25 +0100 |
|---|---|---|
| committer | Anton Khirnov <anton@khirnov.net> | 2021-04-08 11:03:15 +0200 |
| commit | 8d74baccff59192d395735036cd40a131a140391 (patch) | |
| tree | 242eb9255afcf9b32c74e41c469059bf64bbcaa8 /doc/examples/extract_mvs.c | |
| parent | 89ea5057bf47880145419341258eadb3635448cf (diff) | |
| download | ffmpeg-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 'doc/examples/extract_mvs.c')
0 files changed, 0 insertions, 0 deletions
