From 19dceef905468e11df26d0aa2f16b20d89e563a0 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer <michaelni@gmx.at> Date: Thu, 30 Aug 2012 05:09:15 +0200 Subject: [PATCH] vf_framestep: fix uninitilaized variable bug Found-by: gcc Signed-off-by: Michael Niedermayer <michaelni@gmx.at> --- libavfilter/vf_framestep.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libavfilter/vf_framestep.c b/libavfilter/vf_framestep.c index e903765e5ac..dcb26650537 100644 --- a/libavfilter/vf_framestep.c +++ b/libavfilter/vf_framestep.c @@ -35,9 +35,7 @@ static av_cold int init(AVFilterContext *ctx, const char *args) { FrameStepContext *framestep = ctx->priv; char *tailptr; - long int n; - - framestep->frame_step = 1; + long int n = 1; if (args) { n = strtol(args, &tailptr, 10); -- GitLab