Skip to content
Snippets Groups Projects
Commit 19dceef9 authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

vf_framestep: fix uninitilaized variable bug


Found-by: gcc
Signed-off-by: default avatarMichael Niedermayer <michaelni@gmx.at>
parent afe6f337
No related branches found
No related tags found
No related merge requests found
...@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment