aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/dvaudiodec.c
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-05 12:28:51 +0200
commit9e9836424b63ee096fd715a2479066daff8dfa01 (patch)
treefeca98f800e74384729c45623924595bc5b5ada6 /libavcodec/dvaudiodec.c
parentad232c6833d9f192324c9e99c19d1b4dd7852828 (diff)
downloadffmpeg-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 'libavcodec/dvaudiodec.c')
0 files changed, 0 insertions, 0 deletions