1
mirror of https://github.com/mpv-player/mpv synced 2024-10-02 16:25:33 +02:00

Fix wrong return type in darwin VCD code

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23911 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2007-07-29 12:41:22 +00:00
parent 61bce335f7
commit 0f4796adaa

View File

@ -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