Skip to content
Snippets Groups Projects
Commit 8d09d39a authored by Janne Grunau's avatar Janne Grunau
Browse files

avconv: remove bogus warning when using avconv -h without parameter

parent 25227c3a
No related branches found
No related tags found
No related merge requests found
...@@ -1792,7 +1792,7 @@ void show_help_default(const char *opt, const char *arg) ...@@ -1792,7 +1792,7 @@ void show_help_default(const char *opt, const char *arg)
const int per_file = OPT_SPEC | OPT_OFFSET | OPT_PERFILE; const int per_file = OPT_SPEC | OPT_OFFSET | OPT_PERFILE;
int show_advanced = 0, show_avoptions = 0; int show_advanced = 0, show_avoptions = 0;
if (opt) { if (opt && *opt) {
if (!strcmp(opt, "long")) if (!strcmp(opt, "long"))
show_advanced = 1; show_advanced = 1;
else if (!strcmp(opt, "full")) else if (!strcmp(opt, "full"))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment