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-05 14:17:03 +0200 |
commit | 63218fc2d09c37b20b17d82a2e565dbb0d2c34b5 (patch) | |
tree | 2387d1836f01c12388682743eafde9140422827a /libavcodec/flacdsp_lpc_template.c | |
parent | 6e2fe9958a96d14298151803e39203e2ab11332b (diff) | |
download | ffmpeg-63218fc2d09c37b20b17d82a2e565dbb0d2c34b5.tar.gz |
avcodec/g722enc: Avoid copying packet data, allow user-supplied buffers
When the packet size is known in advance like here, one can avoid
an intermediate buffer for the packet data by using
ff_get_encode_buffer() and also set AV_CODEC_CAP_DR1 at the same time.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/flacdsp_lpc_template.c')
0 files changed, 0 insertions, 0 deletions