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

2023-10-02 Thread Anton Khirnov
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 > --- > libavcodec/wavpack.c | 25 - > 1 file changed, 8 insertions(+), 17 deletions

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

2023-09-19 Thread Andreas Rheinhardt
It avoids allocations and the corresponding error checks. It also avoids indirections and casts. Signed-off-by: Andreas Rheinhardt --- libavcodec/wavpack.c | 25 - 1 file changed, 8 insertions(+), 17 deletions(-) diff --git a/libavcodec/wavpack.c b/libavcodec/wavpack.c i