aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/rtpdec_ac3.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:27:04 +0200
commitad232c6833d9f192324c9e99c19d1b4dd7852828 (patch)
treef343cf249ae02ce4a43adef0e199739dd95b0a0c /libavformat/rtpdec_ac3.c
parent39bb36d7231b4dd5eec8105903cd8e323b2c0474 (diff)
downloadffmpeg-ad232c6833d9f192324c9e99c19d1b4dd7852828.tar.gz
avcodec/adxenc: 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/rtpdec_ac3.c')
0 files changed, 0 insertions, 0 deletions