summaryrefslogtreecommitdiffstats
path: root/stream/vcd_read_darwin.h
diff options
context:
space:
mode:
Diffstat (limited to 'stream/vcd_read_darwin.h')
-rw-r--r--stream/vcd_read_darwin.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/vcd_read_darwin.h b/stream/vcd_read_darwin.h
index d237569e5d..d722b8d65b 100644
--- a/stream/vcd_read_darwin.h
+++ b/stream/vcd_read_darwin.h
@@ -74,7 +74,7 @@ int vcd_get_track_end(mp_vcd_priv_t* vcd, int track)
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