This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
avfilter/af_agate: fix memleak of out frame
Fixes CID1351358 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n3.0
Michael Niedermayer
9 years ago
parent
253209ac44
commit
8e46c7c1e7
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
libavfilter/af_agate.c
+ 1
- 0
libavfilter/af_agate.c
View File
@@ -295,6 +295,7 @@ static int scfilter_frame(AVFilterLink *link, AVFrame *frame)
if (!in[i]) {
av_frame_free(&in[0]);
av_frame_free(&in[1]);
av_frame_free(&out);
return AVERROR(ENOMEM);
}
av_audio_fifo_read(s->fifo[i], (void **)in[i]->data, nb_samples);
Write
Preview
Loading…
Cancel
Save