aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale/log2_tab.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 15:12:57 +0200
commit5abb5c04155b536f26fc88311ac3132890111360 (patch)
treec2249ee58f14e4657f01affa6dd50fb627c483a7 /libswscale/log2_tab.c
parent314c086a859cffeb53ad4e227d77f42f6301a9b9 (diff)
downloadffmpeg-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 'libswscale/log2_tab.c')
0 files changed, 0 insertions, 0 deletions