diff options
author | Thierry Foucu <tfoucu@gmail.com> | 2017-09-15 08:49:54 -0700 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2017-09-15 22:40:21 +0200 |
commit | 42a41c3956975a4404d0c48bedd51f144c90c08b (patch) | |
tree | 2282b8fa4011fec7eab55786362359a0444281b0 /libavfilter/vf_fps.c | |
parent | ed48e22748ee199ce4790ed29da8cef937347f17 (diff) | |
download | ffmpeg-streaming-42a41c3956975a4404d0c48bedd51f144c90c08b.zip ffmpeg-streaming-42a41c3956975a4404d0c48bedd51f144c90c08b.tar.gz |
vf_fps: Fix memory leak introduced by eea64ef4
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavfilter/vf_fps.c')
-rw-r--r-- | libavfilter/vf_fps.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/vf_fps.c b/libavfilter/vf_fps.c index 09fc66a..1e5d07e 100644 --- a/libavfilter/vf_fps.c +++ b/libavfilter/vf_fps.c @@ -171,6 +171,7 @@ static int request_frame(AVFilterLink *outlink) s->frames_out++; if (j > 0) s->dup++; } + av_frame_free(&buf); } else { /* for delta less or equal to 0, we should drop the frame, * otherwise, we will have one or more extra frames */ |