1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

vf_framestep: fix uninitilaized variable bug

Found-by: gcc
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2012-08-30 05:09:15 +02:00
parent afe6f337ad
commit 19dceef905

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