diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-04-25 01:43:26 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-05-23 14:44:13 +0200 |
commit | 6564ab0e01609c580c5f9ebd05c0a403b2a956b2 (patch) | |
tree | 84f0f1922b11ec9812454e0b391cbd35670ee46f /ffbuild/arch.mak | |
parent | 0812a60feeb5e49efa268fb50d5850b1ad84eb70 (diff) | |
download | ffmpeg-6564ab0e01609c580c5f9ebd05c0a403b2a956b2.tar.gz |
avcodec/libshine: Avoid copying data, allow user-supplied buffer
The libshine encoder already uses an internal buffer, so that the
packet size is already known before allocating the packet; therefore
one can avoid another (implicit) intermediate buffer by switching
to ff_get_encode_buffer(), thereby also supporting user-supplied
buffers.
Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'ffbuild/arch.mak')
0 files changed, 0 insertions, 0 deletions