[FFmpeg-devel] [PATCH 41/42] avcodec/pngdec: Switch to ProgressFrames

Anton Khirnov anton at khirnov.net
Thu Nov 9 11:52:47 EET 2023


Quoting Andreas Rheinhardt (2023-09-19 21:57:33)
> Avoids implicit av_frame_ref() and therefore allocations
> and error checks. It also avoids explicitly allocating
> the AVFrames (done implicitly when getting the buffer).
> 
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> ---
>  libavcodec/pngdec.c | 64 +++++++++++++++++++--------------------------
>  1 file changed, 27 insertions(+), 37 deletions(-)

Looks ok

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list