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
commit8fb25961b94c6b8306c62f239352a111fbfcf788 (patch)
tree50705ae8121f9eff341b630ee9069948366866c8 /libavformat/stldec.c
parentf471caaf90526eb6177c9c91591010c04f64a0c3 (diff)
downloadffmpeg-8fb25961b94c6b8306c62f239352a111fbfcf788.tar.gz
avcodec/g726: 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