[MPlayer-cvslog] r23870 - trunk/stream/vcd_read_nbsd.h

reimar subversion at mplayerhq.hu
Fri Jul 27 01:19:36 CEST 2007


Author: reimar
Date: Fri Jul 27 01:19:36 2007
New Revision: 23870

Log:
100l, return is missing a value


Modified:
   trunk/stream/vcd_read_nbsd.h

Modified: trunk/stream/vcd_read_nbsd.h
==============================================================================
--- trunk/stream/vcd_read_nbsd.h	(original)
+++ trunk/stream/vcd_read_nbsd.h	Fri Jul 27 01:19:36 2007
@@ -91,7 +91,7 @@ vcd_read_toc(int fd)
   int i, min = 0, sec = 0, frame = 0;
   if (ioctl(fd, CDIOREADTOCHEADER, &tochdr) == -1) {
     mp_msg(MSGT_OPEN,MSGL_ERR,"read CDROM toc header: %s\n",strerror(errno));
-    return;
+    return NULL;
   }
   mp_msg(MSGT_IDENTIFY, MSGL_INFO, "ID_VCD_START_TRACK=%d\n", tochdr.starting_track);
   mp_msg(MSGT_IDENTIFY, MSGL_INFO, "ID_VCD_END_TRACK=%d\n", tochdr.ending_track);



More information about the MPlayer-cvslog mailing list