diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-04-25 01:43:26 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-05-05 12:45:49 +0200 |
commit | 1393c7edae338fd6fd3d53bde824646e1841ab2c (patch) | |
tree | 5155a931bf8f503427fc11cd4e7db00b1318a1df /libavcodec/mss34dsp.h | |
parent | 4569c70f140f01447d1de385a2dd490976d95f89 (diff) | |
download | ffmpeg-1393c7edae338fd6fd3d53bde824646e1841ab2c.tar.gz |
avcodec/dnxhdenc: 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/mss34dsp.h')
0 files changed, 0 insertions, 0 deletions