aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/bmvaudio.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 14:17:03 +0200
commitd914da3bb62b58e0cb7c2cdbe56d1a97111c94e6 (patch)
treefc0623e9caa1dde771f13c44b423e1cbce69a0dd /libavcodec/bmvaudio.c
parent27b0a5204d7d1a56abba1bf981123cc29a9f17bc (diff)
downloadffmpeg-d914da3bb62b58e0cb7c2cdbe56d1a97111c94e6.tar.gz
avcodec/v408enc: 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/bmvaudio.c')
0 files changed, 0 insertions, 0 deletions