Commit 4eadf998 authored by Christophe Massiot's avatar Christophe Massiot

* dvblast.c: Fix segfault when no input option is passed.

parent b76e1346
......@@ -608,7 +608,7 @@ int main( int i_argc, char **pp_argv )
usage();
}
}
if ( optind < i_argc )
if ( optind < i_argc || pf_Open == NULL )
usage();
msg_Warn( NULL, "restarting" );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment