aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/xwma.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:49:45 +0200
commitd8e66ec1d7233541fd84205cb10e8e6ff87167de (patch)
tree7c7a16632674aa69a3a637315178e2194e0da44e /libavformat/xwma.c
parent6ba55e9652746382dddddadb9d91206e22e15939 (diff)
downloadffmpeg-d8e66ec1d7233541fd84205cb10e8e6ff87167de.tar.gz
avcodec/libvorbisenc: Avoid copying data, allow user-supplied buffers
Here the packet size is known before allocating the packet because the encoder provides said information (and works with internal buffers itself), so one can use this information to avoid the implicit use of another intermediate buffer for the packet data; and by switching to ff_get_encode_buffer() one can also allow user-supplied buffers. Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavformat/xwma.c')
0 files changed, 0 insertions, 0 deletions