diff options
author | Alexis Ballier <aballier@gentoo.org> | 2017-03-11 20:18:54 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2017-03-16 16:16:05 +0100 |
commit | bbc8f3d20e09ab238e345a02ed983434d2efe633 (patch) | |
tree | e664e68657eaebddaea5bea7789c14d8dc91ae68 /libavfilter | |
parent | 0c6105dde0c42bc64c93e7e7fbf286869c0bffa2 (diff) | |
download | ffmpeg-streaming-bbc8f3d20e09ab238e345a02ed983434d2efe633.zip ffmpeg-streaming-bbc8f3d20e09ab238e345a02ed983434d2efe633.tar.gz |
lavf/vf_framerate: Fix frame leak when increasing framerate.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/vf_framerate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_framerate.c b/libavfilter/vf_framerate.c index 237a487..b4a74f7 100644 --- a/libavfilter/vf_framerate.c +++ b/libavfilter/vf_framerate.c @@ -526,7 +526,7 @@ static av_cold void uninit(AVFilterContext *ctx) FrameRateContext *s = ctx->priv; int i; - for (i = s->frst + 1; i < s->last; i++) { + for (i = s->frst; i < s->last; i++) { if (s->srce[i] && (s->srce[i] != s->srce[i + 1])) av_frame_free(&s->srce[i]); } |