aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/arm/cpu.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:42:54 +0200
commitc59398970bff5ee6c0305a0228eb562ec5901b08 (patch)
treef3f8ee6c2548ff132c5bd0e0196a2c168431fa93 /libavutil/arm/cpu.c
parent95c8a859d97e9902388f5acf5c735b16417a2609 (diff)
downloadffmpeg-c59398970bff5ee6c0305a0228eb562ec5901b08.tar.gz
avcodec/libmp3lame: Avoid copying data, allow user-supplied buffer
The libmp3lame 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 'libavutil/arm/cpu.c')
0 files changed, 0 insertions, 0 deletions