]> git.sesse.net Git - ffmpeg/commit
avcodec/sonic: Allocate several buffers together
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Sun, 27 Sep 2020 09:33:41 +0000 (11:33 +0200)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Wed, 4 Nov 2020 20:09:58 +0000 (21:09 +0100)
commitcba55c335370ed15d6f846b312bfa3a23e318550
tree45cc78eb3ccf3252c31bcd76716bfd271303590e
parent09e49ba31ec7b5911884e275328df6d6514eb6eb
avcodec/sonic: Allocate several buffers together

It simplifies freeing them and reduces the amount of allocations.

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavcodec/sonic.c