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-23 15:16:31 +0200 |
commit | 7a3613696d9beb625c09c703723884eb18a58976 (patch) | |
tree | 95456fcf9c646a7fef0807a18a86383da9479b83 /libavfilter | |
parent | 250d8661abdbe2929bfef17e699adfab10a9c67c (diff) | |
download | ffmpeg-7a3613696d9beb625c09c703723884eb18a58976.tar.gz |
avcodec/sbcenc: 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 'libavfilter')
0 files changed, 0 insertions, 0 deletions