Browse Source

vf_framestep: fix uninitilaized variable bug

Found-by: gcc
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.0
Michael Niedermayer 12 years ago
parent
commit
19dceef905
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      libavfilter/vf_framestep.c

+ 1
- 3
libavfilter/vf_framestep.c View File

@@ -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);


Loading…
Cancel
Save