[Mplayer-cvslog] CVS: main/libmpdemux open.c,1.34,1.35
Kim Minh Kaplan CVS
kmkaplan at mplayer.dev.hu
Fri Jan 25 13:55:01 CET 2002
Update of /cvsroot/mplayer/main/libmpdemux
In directory mplayer:/var/tmp.root/cvs-serv15472/libmpdemux
Modified Files:
open.c
Log Message:
Don't segfault with empty -chapter spec.
Quiet one GCC warning.
Index: open.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/open.c,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- open.c 24 Jan 2002 23:02:50 -0000 1.34
+++ open.c 25 Jan 2002 12:54:52 -0000 1.35
@@ -425,6 +425,8 @@
int dvd_parse_chapter_range(struct config *conf, const char *range){
char *s, *t;
+ conf; /* prevent warning from GCC */
+ s = range;
dvd_chapter = 1;
dvd_last_chapter = 0;
if (*range && isdigit(*range)) {
More information about the MPlayer-cvslog
mailing list