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

Anton Khirnov anton at khirnov.net
Thu Nov 9 11:56:01 EET 2023


Quoting Andreas Rheinhardt (2023-09-19 21:57:34)
> 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/ffv1.c    |  1 -
>  libavcodec/ffv1.h    |  4 +--
>  libavcodec/ffv1dec.c | 83 +++++++++++++++++++-------------------------
>  3 files changed, 37 insertions(+), 51 deletions(-)

Looks ok

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list