aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/cdxl.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
commit5cb64caadfdf6ecb3d63489a27d5b1d2e2992b8d (patch)
tree7a3d962fa839eba32b8ca1da3ef547b4c8d2a1db /libavformat/cdxl.c
parent0788069cb1cf95b8858f9315ffe9cd4e1916eef1 (diff)
downloadffmpeg-5cb64caadfdf6ecb3d63489a27d5b1d2e2992b8d.tar.gz
avcodec/r210enc: 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/cdxl.c')
0 files changed, 0 insertions, 0 deletions