[Mplayer-cvslog] CVS: main parser-mpcmd.c,1.14,1.15
Roberto Togni CVS
syncmail at mplayerhq.hu
Sat Apr 24 15:15:33 CEST 2004
- Previous message: [Mplayer-cvslog] CVS: main/libmpdemux/realrtsp real.c, 1.4, 1.5 real.h, 1.2, 1.3 rtsp_session.c, 1.5, 1.6 sdpplin.c, 1.1, 1.2 xbuffer.c, 1.2, 1.3 xbuffer.h, 1.1, 1.2
- Next message: [Mplayer-cvslog] CVS: main/libmpdemux network.c,1.95,1.96
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
CVS change done by Roberto Togni CVS
Update of /cvsroot/mplayer/main
In directory mail:/var2/tmp/cvs-serv20234
Modified Files:
parser-mpcmd.c
Log Message:
Fail if empty or nonexitant playlist
Patch by adland
Index: parser-mpcmd.c
===================================================================
RCS file: /cvsroot/mplayer/main/parser-mpcmd.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- parser-mpcmd.c 13 Aug 2003 16:44:39 -0000 1.14
+++ parser-mpcmd.c 24 Apr 2004 13:15:31 -0000 1.15
@@ -34,15 +34,15 @@
if(strcasecmp(opt,"playlist") == 0) { // We handle playlist here
if(!param)
return M_OPT_MISSING_PARAM;
+
entry = parse_playlist_file(param);
if(!entry)
- return 1;
+ return -1;
+ else {
+ *ret=entry;
+ return 1;
+ }
}
-
- if(entry) {
- *ret = entry;
- return 1;
- } else
return 0;
}
- Previous message: [Mplayer-cvslog] CVS: main/libmpdemux/realrtsp real.c, 1.4, 1.5 real.h, 1.2, 1.3 rtsp_session.c, 1.5, 1.6 sdpplin.c, 1.1, 1.2 xbuffer.c, 1.2, 1.3 xbuffer.h, 1.1, 1.2
- Next message: [Mplayer-cvslog] CVS: main/libmpdemux network.c,1.95,1.96
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the MPlayer-cvslog
mailing list