1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

avfilter/avf_showfreqs: Free fin

Fixes CID1322345

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Michael Niedermayer 2015-09-05 15:32:00 +02:00
parent a3ad51e0d5
commit 7213d3fbf3

View File

@ -501,6 +501,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
goto fail;
ret = plot_freqs(inlink, fin);
av_frame_free(&fin);
av_audio_fifo_drain(s->fifo, s->skip_samples);
if (ret < 0)
goto fail;