Skip to content
Snippets Groups Projects
Commit 42a41c39 authored by Thierry Foucu's avatar Thierry Foucu Committed by Michael Niedermayer
Browse files

vf_fps: Fix memory leak introduced by eea64ef4

parent ed48e227
No related branches found
No related tags found
No related merge requests found
......@@ -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 */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment