ENH: Upon failure, properly return error code (!=0)

This commit is contained in:
Mathieu Malaterre
2007-09-07 13:06:36 +00:00
parent 53471a76f1
commit 2479921c71
3 changed files with 5 additions and 2 deletions

View File

@@ -1750,7 +1750,7 @@ int main(int argc, char **argv) {
/* parse input and get user encoding parameters */
if(parse_cmdline_encoder(argc, argv, &parameters,&img_fol, &raw_cp) == 1) {
return 0;
return 1;
}
if (parameters.cp_cinema){