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:44:22 +0200 |
commit | 4569c70f140f01447d1de385a2dd490976d95f89 (patch) | |
tree | 5dcde42a3e60b1f5ef42516e6e38c4513fd41dc3 /libavcodec/dnxhdenc.c | |
parent | 72c521e80af9ff9b8ab7145e4af973c5e2969840 (diff) | |
download | ffmpeg-4569c70f140f01447d1de385a2dd490976d95f89.tar.gz |
avcodec/dcaenc: 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/dnxhdenc.c')
0 files changed, 0 insertions, 0 deletions