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

Anton Khirnov anton at khirnov.net
Thu Nov 9 11:50:12 EET 2023


Quoting Andreas Rheinhardt (2023-09-19 21:57:32)
> 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/hevc_filter.c |  8 ++++----
>  libavcodec/hevc_mvs.c    |  6 +++---
>  libavcodec/hevc_refs.c   | 22 ++++++++++------------
>  libavcodec/hevcdec.c     | 24 ++++++++++--------------
>  libavcodec/hevcdec.h     |  4 ++--
>  5 files changed, 29 insertions(+), 35 deletions(-)

Looks ok

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list