aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/concatdec.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-04-25 01:43:26 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-05-23 14:44:13 +0200
commit6564ab0e01609c580c5f9ebd05c0a403b2a956b2 (patch)
tree84f0f1922b11ec9812454e0b391cbd35670ee46f /libavformat/concatdec.c
parent0812a60feeb5e49efa268fb50d5850b1ad84eb70 (diff)
downloadffmpeg-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 'libavformat/concatdec.c')
0 files changed, 0 insertions, 0 deletions