[FFmpeg-devel] [PATCH 07/42] avcodec/wavpack: Use RefStruct API for DSD context

Anton Khirnov anton at khirnov.net
Mon Oct 2 12:46:29 EEST 2023


Quoting Andreas Rheinhardt (2023-09-19 21:56:59)
> It avoids allocations and the corresponding error checks.
> It also avoids indirections and casts.
> 
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> ---
>  libavcodec/wavpack.c | 25 ++++++++-----------------
>  1 file changed, 8 insertions(+), 17 deletions(-)

LGTM

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list