On Thu, Apr 08, 2021 at 05:34:30PM +0200, Michael Niedermayer wrote: > On Thu, Apr 08, 2021 at 10:46:54AM +0200, Anton Khirnov wrote: > > Calling av_frame_make_writable() from decoders is tricky, especially > > when frame threading is used. It is much simpler and safer to just make > > a private copy of the frame. > > This is not expected to have a major performance impact, since > > APNG_DISPOSE_OP_BACKGROUND is not used often and > > av_frame_make_writable() would typically make a copy anyway. > > > > Found-by: James Almer <[email protected]> > > --- > > libavcodec/pngdec.c | 18 +++++++++++------- > > 1 file changed, 11 insertions(+), 7 deletions(-) > > LGTM
i will apply and backport this if it has not been applied when i make the 4.4 release thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Frequently ignored answer#1 FFmpeg bugs should be sent to our bugtracker. User questions about the command line tools should be sent to the ffmpeg-user ML. And questions about how to use libav* should be sent to the libav-user ML.
signature.asc
Description: PGP signature
_______________________________________________ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
