On Tue, Sep 08, 2020 at 11:18:45PM +0200, Andreas Rheinhardt wrote: > The headphone filter has two modes; in one of them (say A), it needs > certain buffers to store data. But it allocated them in both modes. > Furthermore when in mode A it also allocated intermediate buffers of the > same size, initialized them, copied their contents into the permanent > buffers and freed them. > > This commit changes this: The permanent buffer is only allocated when > needed; the temporary buffer has been completely avoided. > > Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@gmail.com> > --- > libavfilter/af_headphone.c | 38 +++++++++++++++----------------------- > 1 file changed, 15 insertions(+), 23 deletions(-) >
should be fine if does not break usage. _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".