mirror of https://github.com/mpv-player/mpv
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:
parent
40bbdc2358
commit
6a1bc9678e
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue