diff --git a/libavfilter/vf_framestep.c b/libavfilter/vf_framestep.c index e903765e5acbe1957c53a79bb3240cec4880a4ce..dcb2665053758a263b3584413a2c8e1960fc8c16 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);