Commit 19dceef9 authored by Michael Niedermayer's avatar Michael Niedermayer

vf_framestep: fix uninitilaized variable bug

Found-by: gcc
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent afe6f337
...@@ -35,9 +35,7 @@ static av_cold int init(AVFilterContext *ctx, const char *args) ...@@ -35,9 +35,7 @@ static av_cold int init(AVFilterContext *ctx, const char *args)
{ {
FrameStepContext *framestep = ctx->priv; FrameStepContext *framestep = ctx->priv;
char *tailptr; char *tailptr;
long int n; long int n = 1;
framestep->frame_step = 1;
if (args) { if (args) {
n = strtol(args, &tailptr, 10); n = strtol(args, &tailptr, 10);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment