diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-07-26 23:19:36 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-07-26 23:19:36 +0000 |
commit | d10cfcf0159331e5ede8046c0038de6e6960ade6 (patch) | |
tree | 82f6dc1fc0e49c683d75c847b8a9363c0f054711 | |
parent | 51235ecd9709fa0556c6e133be70b6a669074e4e (diff) |
100l, return is missing a value
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23870 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | stream/vcd_read_nbsd.h | 2 |
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); |