mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
vf_fps: Fix memory leak introduced by eea64ef4
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
ed48e22748
commit
42a41c3956
@ -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…
Reference in New Issue
Block a user