aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/dvbtxt.c
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-23 14:50:46 +0200
commit3280c6f938c8b16254bfb68af54089af467274c5 (patch)
treee90ee0f0e0b188be31f5471b23bf157e4530f1d6 /libavformat/dvbtxt.c
parentd8e66ec1d7233541fd84205cb10e8e6ff87167de (diff)
downloadffmpeg-3280c6f938c8b16254bfb68af54089af467274c5.tar.gz
avcodec/libvpxenc: Avoid copying data, allow user-supplied buffers
Here the packet size is known before allocating the packet because the encoder provides said information (and works with internal buffers itself), so one can use this information to avoid the implicit use of another intermediate buffer for the packet data; and by switching to ff_get_encode_buffer() one can also allow user-supplied buffers. Reviewed-by: James Almer <jamrial@gmail.com> Reviewed-by: James Zern <jzern@google.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavformat/dvbtxt.c')
0 files changed, 0 insertions, 0 deletions