Re: [FFmpeg-devel] [PATCH 1/7] avcodec/sonic: Allocate several buffers together

2020-11-04 Thread Michael Niedermayer
On Tue, Nov 03, 2020 at 06:57:29PM +0100, Andreas Rheinhardt wrote: > It simplifies freeing them and reduces the amount of allocations. > > Signed-off-by: Andreas Rheinhardt > --- > libavcodec/sonic.c | 48 -- > 1 file changed, 21 insertions(+), 27 del

[FFmpeg-devel] [PATCH 1/7] avcodec/sonic: Allocate several buffers together

2020-11-03 Thread Andreas Rheinhardt
It simplifies freeing them and reduces the amount of allocations. Signed-off-by: Andreas Rheinhardt --- libavcodec/sonic.c | 48 -- 1 file changed, 21 insertions(+), 27 deletions(-) diff --git a/libavcodec/sonic.c b/libavcodec/sonic.c index 0d4891ebf4