Commit 42a41c39 authored by Thierry Foucu's avatar Thierry Foucu Committed by Michael Niedermayer

vf_fps: Fix memory leak introduced by eea64ef4

Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent ed48e227
......@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment