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-23 14:42:02 +0200
commit91567c28fc178d8f3c226b66dd40572f4eadd35c (patch)
tree35bae0b2fc27e7a12d305d8e34782ca203286204 /libavformat
parent398822a70edf860cd47514e34e15c80c2dfca584 (diff)
downloadffmpeg-91567c28fc178d8f3c226b66dd40572f4eadd35c.tar.gz
avcodec/libgsmenc: 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. Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavformat')
0 files changed, 0 insertions, 0 deletions