diff options
author | Janne Grunau <janne-libav@jannau.net> | 2012-10-10 20:35:26 +0200 |
---|---|---|
committer | Janne Grunau <janne-libav@jannau.net> | 2012-10-10 21:24:32 +0200 |
commit | 8d09d39a4b87280ca728d65c4e1cd03d7360cc2b (patch) | |
tree | b15c59c0c95c8cda8fff375d60ac643d35d52647 /avconv_opt.c | |
parent | 25227c3a78fefd74bc6ea34032cd49ec8c8d9d85 (diff) | |
download | ffmpeg-8d09d39a4b87280ca728d65c4e1cd03d7360cc2b.tar.gz |
avconv: remove bogus warning when using avconv -h without parameter
Diffstat (limited to 'avconv_opt.c')
-rw-r--r-- | avconv_opt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/avconv_opt.c b/avconv_opt.c index 9f30134055..fd3d5735fe 100644 --- a/avconv_opt.c +++ b/avconv_opt.c @@ -1792,7 +1792,7 @@ void show_help_default(const char *opt, const char *arg) const int per_file = OPT_SPEC | OPT_OFFSET | OPT_PERFILE; int show_advanced = 0, show_avoptions = 0; - if (opt) { + if (opt && *opt) { if (!strcmp(opt, "long")) show_advanced = 1; else if (!strcmp(opt, "full")) |