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-23 15:12:57 +0200 |
commit | 5abb5c04155b536f26fc88311ac3132890111360 (patch) | |
tree | c2249ee58f14e4657f01affa6dd50fb627c483a7 /libavdevice/dshow_capture.h | |
parent | 314c086a859cffeb53ad4e227d77f42f6301a9b9 (diff) | |
download | ffmpeg-5abb5c04155b536f26fc88311ac3132890111360.tar.gz |
avcodec/flacenc: Avoid copying packet data, allow user-supplied buffers
The FLAC encoder calculates the size in advance, so 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.
Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavdevice/dshow_capture.h')
0 files changed, 0 insertions, 0 deletions