mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avconv: remove bogus warning when using avconv -h without parameter
This commit is contained in:
parent
25227c3a78
commit
8d09d39a4b
@ -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"))
|
||||
|
Loading…
Reference in New Issue
Block a user