diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-08-30 05:09:15 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-08-30 05:09:15 +0200 |
commit | 19dceef905468e11df26d0aa2f16b20d89e563a0 (patch) | |
tree | 5fc626cddf1bdcbc1d71e25bc88910c33e375495 /libavfilter | |
parent | afe6f337ad17ce77ca90d28d7cfeb11979e98362 (diff) | |
download | ffmpeg-19dceef905468e11df26d0aa2f16b20d89e563a0.tar.gz |
vf_framestep: fix uninitilaized variable bug
Found-by: gcc
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/vf_framestep.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libavfilter/vf_framestep.c b/libavfilter/vf_framestep.c index e903765e5a..dcb2665053 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); |