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 | ef6232aa38d2f1054f3c46ffe83cbfcbd7ce042c (patch) | |
tree | 0d0fb8558f4e81e740ea9287587f78deac10664b /libavcodec/sbcdec.c | |
parent | 8fb25961b94c6b8306c62f239352a111fbfcf788 (diff) | |
download | ffmpeg-ef6232aa38d2f1054f3c46ffe83cbfcbd7ce042c.tar.gz |
avcodec/nellymoserenc: 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 'libavcodec/sbcdec.c')
0 files changed, 0 insertions, 0 deletions