# HG changeset patch # User reimar # Date 1185491976 0 # Node ID f900a440b14dd091e2aa73232211e2483493d49d # Parent 2911a78219a8719f8df55cf18a63e8d8b85c83d8 100l, return is missing a value diff -r 2911a78219a8 -r f900a440b14d stream/vcd_read_nbsd.h --- 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);