Changeset 8d74bacc in ffmpeg

Timestamp:
Apr 8, 2021, 9:03:15 AM (4 years ago)
Author:
Anton Khirnov <anton@khirnov.net>
Branches:
master
Children:
8e4390de
Parents:
89ea5057
git-author:
Anton Khirnov <anton@khirnov.net> (03/20/21 18:57:25)
git-committer:
Anton Khirnov <anton@khirnov.net> (04/08/21 09:03:15)
Message:

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>

(No files)

Note: See TracChangeset for help on using the changeset viewer.