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 12:28:51 +0200 |
commit | 9e9836424b63ee096fd715a2479066daff8dfa01 (patch) | |
tree | feca98f800e74384729c45623924595bc5b5ada6 /libavformat/id3v2.h | |
parent | ad232c6833d9f192324c9e99c19d1b4dd7852828 (diff) | |
download | ffmpeg-9e9836424b63ee096fd715a2479066daff8dfa01.tar.gz |
avcodec/aptxenc: 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/id3v2.h')
0 files changed, 0 insertions, 0 deletions