[MPlayer-cvslog] r23911 - trunk/stream/vcd_read_darwin.h

reimar subversion at mplayerhq.hu
Sun Jul 29 14:41:22 CEST 2007


Author: reimar
Date: Sun Jul 29 14:41:22 2007
New Revision: 23911

Log:
Fix wrong return type in darwin VCD code


Modified:
   trunk/stream/vcd_read_darwin.h

Modified: trunk/stream/vcd_read_darwin.h
==============================================================================
--- trunk/stream/vcd_read_darwin.h	(original)
+++ trunk/stream/vcd_read_darwin.h	Sun Jul 29 14:41:22 2007
@@ -74,7 +74,7 @@ int vcd_get_track_end(mp_vcd_priv_t* vcd
     if (ioctl(vcd->fd, DKIOCCDREADDISCINFO, &tochdr) < 0)
 	{
 		mp_msg(MSGT_OPEN,MSGL_ERR,"read CDROM toc header: %s\n",strerror(errno));
-		return NULL;
+		return -1;
     }
 	
 	//read track info



More information about the MPlayer-cvslog mailing list