changeset 23850:f900a440b14d

100l, return is missing a value
author reimar
date Thu, 26 Jul 2007 23:19:36 +0000
parents 2911a78219a8
children 6dbeddab0b45
files stream/vcd_read_nbsd.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/stream/vcd_read_nbsd.h	Thu Jul 26 23:15:54 2007 +0000
+++ b/stream/vcd_read_nbsd.h	Thu Jul 26 23:19:36 2007 +0000
@@ -91,7 +91,7 @@
   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);