Browse Source

vf_fps: Fix memory leak introduced by eea64ef4

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n3.4
Thierry Foucu Michael Niedermayer 8 years ago
parent
commit
42a41c3956
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavfilter/vf_fps.c

+ 1
- 0
libavfilter/vf_fps.c View File

@@ -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 */


Loading…
Cancel
Save