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 | f471caaf90526eb6177c9c91591010c04f64a0c3 (patch) | |
tree | e51e9d408736ec8329e9c3102b2e8d87493581ab /libavcodec/txd.c | |
parent | 63218fc2d09c37b20b17d82a2e565dbb0d2c34b5 (diff) | |
download | ffmpeg-f471caaf90526eb6177c9c91591010c04f64a0c3.tar.gz |
avcodec/g723_1enc: 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/txd.c')
0 files changed, 0 insertions, 0 deletions