Don't segfault if no -format is given for lavf

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22238 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
uau 2007-02-16 23:09:13 +00:00
parent 40bbdc2358
commit 6a1bc9678e
1 changed files with 1 additions and 1 deletions

View File

@ -338,7 +338,7 @@ int muxer_init_muxer_lavf(muxer_t *muxer)
av_register_all(); av_register_all();
if (strcmp(conf_format, "help") == 0) { if (conf_format && strcmp(conf_format, "help") == 0) {
list_formats(); list_formats();
return 0; return 0;
} }