]> git.sesse.net Git - ffmpeg/commit
avcodec/adpcm_swf: remove memory allocation during trellis encoding
authorZane van Iperen <zane@zanevaniperen.com>
Thu, 1 Apr 2021 00:29:19 +0000 (10:29 +1000)
committerZane van Iperen <zane@zanevaniperen.com>
Sat, 10 Apr 2021 04:42:12 +0000 (14:42 +1000)
commit9e89a23eac1d5ab6f20c5c281d224e9218312a0b
tree213a3c2ab8f08a6c7466c42d193981dfb41a59fb
parent08c805f4ac767444ccc04a37ca6b99d719a6b58f
avcodec/adpcm_swf: remove memory allocation during trellis encoding

The block size is hardcoded, so the buffer size is always known.
Statically allocate the buffer on the stack.

Signed-off-by: Zane van Iperen <zane@zanevaniperen.com>
libavcodec/adpcmenc.c