summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--stream/vcd_read_nbsd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/vcd_read_nbsd.h b/stream/vcd_read_nbsd.h
index d94617f0e6..30ce1bebd6 100644
--- a/stream/vcd_read_nbsd.h
+++ b/stream/vcd_read_nbsd.h
@@ -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);