aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
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
commita043dcbe65efbc07d6f83b5822b99377035039a1 (patch)
tree88c7d9dced0d04b78dd854e422827376ed6fd514 /libavformat
parent765366bcba7ab8d6b3958a860f64147c9e1ceb2a (diff)
downloadffmpeg-a043dcbe65efbc07d6f83b5822b99377035039a1.tar.gz
avcodec/y41penc: 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')
0 files changed, 0 insertions, 0 deletions