[MPlayer-cvslog] r22238 - trunk/libmpdemux/muxer_lavf.c
uau
subversion at mplayerhq.hu
Sat Feb 17 00:09:13 CET 2007
Author: uau
Date: Sat Feb 17 00:09:13 2007
New Revision: 22238
Modified:
trunk/libmpdemux/muxer_lavf.c
Log:
Don't segfault if no -format is given for lavf
Modified: trunk/libmpdemux/muxer_lavf.c
==============================================================================
--- trunk/libmpdemux/muxer_lavf.c (original)
+++ trunk/libmpdemux/muxer_lavf.c Sat Feb 17 00:09:13 2007
@@ -338,7 +338,7 @@
av_register_all();
- if (strcmp(conf_format, "help") == 0) {
+ if (conf_format && strcmp(conf_format, "help") == 0) {
list_formats();
return 0;
}
More information about the MPlayer-cvslog
mailing list