aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
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
commit7bb7161f86c6524e3eb1cb3fdd48f39e5bd942b8 (patch)
tree18e5e22beb83e064d3b73d3d9b26a3392eb714b1 /libavformat
parentc7a0addf93949e89cfacd17cfa59396ef4203598 (diff)
downloadffmpeg-7bb7161f86c6524e3eb1cb3fdd48f39e5bd942b8.tar.gz
avcodec/roqaudioenc: Avoid copying 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')
0 files changed, 0 insertions, 0 deletions