You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avfilter/avf_showfreqs: Free fin
Fixes CID1322345 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
@@ -501,6 +501,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
|
|||||||
goto fail;
|
goto fail;
|
||||||
|
|
||||||
ret = plot_freqs(inlink, fin);
|
ret = plot_freqs(inlink, fin);
|
||||||
|
av_frame_free(&fin);
|
||||||
av_audio_fifo_drain(s->fifo, s->skip_samples);
|
av_audio_fifo_drain(s->fifo, s->skip_samples);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
goto fail;
|
goto fail;
|
||||||
|
Reference in New Issue
Block a user