diff options
Diffstat (limited to 'cmdutils.c')
-rw-r--r-- | cmdutils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmdutils.c b/cmdutils.c index 4fae966d17..db28bdecb2 100644 --- a/cmdutils.c +++ b/cmdutils.c @@ -64,7 +64,7 @@ void parse_options(int argc, char **argv, const OptionDef *options) optindex = 1; while (optindex < argc) { opt = argv[optindex++]; - + if (opt[0] == '-' && opt[1] != '\0') { po= find_option(options, opt + 1); if (!po->name) @@ -111,7 +111,7 @@ void print_error(const char *filename, int err) fprintf(stderr, "%s: Incorrect image filename syntax.\n" "Use '%%d' to specify the image number:\n" " for img1.jpg, img2.jpg, ..., use 'img%%d.jpg';\n" - " for img001.jpg, img002.jpg, ..., use 'img%%03d.jpg'.\n", + " for img001.jpg, img002.jpg, ..., use 'img%%03d.jpg'.\n", filename); break; case AVERROR_INVALIDDATA: |