Mercurial > mplayer.hg
changeset 23891:542d4cda34c3
Fix wrong return type in darwin VCD code
author | reimar |
---|---|
date | Sun, 29 Jul 2007 12:41:22 +0000 |
parents | 4587edae1790 |
children | 768715e91b27 |
files | stream/vcd_read_darwin.h |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/stream/vcd_read_darwin.h Sun Jul 29 12:20:25 2007 +0000 +++ b/stream/vcd_read_darwin.h Sun Jul 29 12:41:22 2007 +0000 @@ -74,7 +74,7 @@ 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