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 | fbfae5eb36db0b0be1a8b9c715388e9fcfea0c0f (patch) | |
tree | 3d9b4c154ca92e68a3104a406c381503335cac3d /libavformat/webpenc.c | |
parent | 7bb7161f86c6524e3eb1cb3fdd48f39e5bd942b8 (diff) | |
download | ffmpeg-fbfae5eb36db0b0be1a8b9c715388e9fcfea0c0f.tar.gz |
avcodec/s302menc: 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/webpenc.c')
0 files changed, 0 insertions, 0 deletions