Enlarged command buffer, mencoder option size. Fixed bug if variable name is unrecognized.

This commit is contained in:
n-a-c-h
2006-02-26 02:59:50 +00:00
parent 0d7dbfb47d
commit 6db771067d
2 changed files with 5 additions and 4 deletions

View File

@@ -1884,13 +1884,14 @@ static char *pick_var(char **str)
*str += strlen("$md_video_rate");
return(romispal ? md_pal : md_ntsc);
}
*str += strlen(*str);
fprintf(stderr, "Unknown Variable: %s", *str);
return("");
}
FILE *open_movie_file()
{
char command[400], *p, *var;
char command[450], *p, *var;
read_movie_vars("zmovie.cfg");
*command = 0;