aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/stldec.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-05 14:17:03 +0200
commitf471caaf90526eb6177c9c91591010c04f64a0c3 (patch)
treee51e9d408736ec8329e9c3102b2e8d87493581ab /libavformat/stldec.c
parent63218fc2d09c37b20b17d82a2e565dbb0d2c34b5 (diff)
downloadffmpeg-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 'libavformat/stldec.c')
0 files changed, 0 insertions, 0 deletions