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:04 +0200 |
commit | 4fda451c9f2dda4ced8cff92cd7c5387550dad83 (patch) | |
tree | 0d09e840f6f5b0dde6c1603d74a6eaf34101cb27 /tools/seek_print.c | |
parent | a3f02388f169c6513c4f242a1cb4b507711eded7 (diff) | |
download | ffmpeg-4fda451c9f2dda4ced8cff92cd7c5387550dad83.tar.gz |
avcodec/zmbvenc: Avoid copying packet data, allow user-supplied buffers
Here the packet size is known before allocating the packet because
the encoder itself works with an internal buffer, so one can use
this information to avoid the implicit use of another intermediate
buffer for the packet data; one can also switch to
ff_get_encode_buffer() and directly use user-supplied buffers.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'tools/seek_print.c')
0 files changed, 0 insertions, 0 deletions