1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-24 15:52:25 +00:00

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

View File

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