aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/generate_wave_table.h
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:15:57 +0200
commit250d8661abdbe2929bfef17e699adfab10a9c67c (patch)
treea09a41189580e646cc702d4d4e37da7919a57cc2 /libavfilter/generate_wave_table.h
parentaaefb84b04a8a8d40b3d23ce4f0b0c92b093ddb9 (diff)
downloadffmpeg-250d8661abdbe2929bfef17e699adfab10a9c67c.tar.gz
avcodec/pngenc: Avoid copying APNG data, allow user-supplied buffer
The APNG encoder already uses internal buffers, so that the packet size is already known before allocating the packet; therefore one can avoid another (implicit) intermediate buffer by switching to ff_get_encode_buffer(), thereby also supporting user-supplied buffers. Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavfilter/generate_wave_table.h')
0 files changed, 0 insertions, 0 deletions