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 | d914da3bb62b58e0cb7c2cdbe56d1a97111c94e6 (patch) | |
tree | fc0623e9caa1dde771f13c44b423e1cbce69a0dd /libavcodec/vc1.c | |
parent | 27b0a5204d7d1a56abba1bf981123cc29a9f17bc (diff) | |
download | ffmpeg-d914da3bb62b58e0cb7c2cdbe56d1a97111c94e6.tar.gz |
avcodec/v408enc: 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 'libavcodec/vc1.c')
0 files changed, 0 insertions, 0 deletions