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:19:02 +0200 |
commit | 259a76272911853e46e05e02e3718f4faed4745b (patch) | |
tree | 473e9a3c94eb744aa2f1d005900f00709ffaba5a /libavformat/rtmpcrypt.c | |
parent | a0b55e2adbc8c4ffd805b91c0b40f9292675cdcf (diff) | |
download | ffmpeg-259a76272911853e46e05e02e3718f4faed4745b.tar.gz |
avcodec/a64multienc: 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/rtmpcrypt.c')
0 files changed, 0 insertions, 0 deletions