aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-04-25 01:43:26 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-05-05 14:17:04 +0200
commit4fda451c9f2dda4ced8cff92cd7c5387550dad83 (patch)
tree0d09e840f6f5b0dde6c1603d74a6eaf34101cb27 /libavformat
parenta3f02388f169c6513c4f242a1cb4b507711eded7 (diff)
downloadffmpeg-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 'libavformat')
0 files changed, 0 insertions, 0 deletions