[FFmpeg-devel] [PATCH 19/42] avcodec/hevcdec: Use RefStruct-pool API instead of AVBufferPool API

Anton Khirnov anton at khirnov.net
Wed Oct 4 17:12:30 EEST 2023


Quoting Andreas Rheinhardt (2023-09-19 21:57:11)
> It involves less allocations and therefore has the nice property
> that deriving a reference from a reference can't fail,
> simplifying hevc_ref_frame().
> 
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> ---
>  libavcodec/hevc_refs.c | 16 ++++++----------
>  libavcodec/hevcdec.c   | 25 ++++++-------------------
>  libavcodec/hevcdec.h   | 10 ++++------
>  3 files changed, 16 insertions(+), 35 deletions(-)

Looks ok

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list