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 14:17:03 +0200 |
commit | 8eef32d394bef6a320c2ecdaf7d6fc03359d766e (patch) | |
tree | 64f435b8133da694ec88f2a9b202e1f64d90ee7e /tools | |
parent | 184a8852f1c4a3c592fa0a4e1dcb253d6456cbe8 (diff) | |
download | ffmpeg-8eef32d394bef6a320c2ecdaf7d6fc03359d766e.tar.gz |
avcodec/ra144enc: 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 'tools')
0 files changed, 0 insertions, 0 deletions