vf_framestep: fix uninitilaized variable bug
Found-by: gcc Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
afe6f337ad
commit
19dceef905
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user