Merge branch 'pr/n328_abhishek-vinjamoori'

This commit is contained in:
cfsmp3
2016-03-16 18:16:56 +01:00

View File

@@ -1148,7 +1148,7 @@ int parse_parameters (struct ccx_s_options *opt, int argc, char *argv[])
opt->enc_cfg.trim_subs=1;
continue;
}
if (strcmp (argv[i],"-outinterval")==0)
if (strcmp (argv[i],"-outinterval")==0 && i<argc-1)
{
opt->out_interval = atoi(argv[i+1]);
i++;
@@ -1831,5 +1831,4 @@ int parse_parameters (struct ccx_s_options *opt, int argc, char *argv[])
opt->enc_cfg.output_filename = NULL;
return EXIT_OK;
}
}