mirror of
https://github.com/mpv-player/mpv
synced 2025-01-01 04:36:24 +01: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:
parent
61bce335f7
commit
0f4796adaa
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user