diff options
author | Clément Bœsch <ubitux@gmail.com> | 2011-04-28 09:36:00 +0200 |
---|---|---|
committer | Uoti Urpala <uau@mplayer2.org> | 2011-05-02 00:46:48 +0300 |
commit | 6506d4ad84eac67e69437def2c8ee69fcfc14ed5 (patch) | |
tree | 255e7f58b809a9bc7377047533cfb19399ce4ffd /stream/vcd_read.h | |
parent | 7e65428712beacd416dc3410c52f22ebfd3b4c53 (diff) | |
download | mpv-6506d4ad84eac67e69437def2c8ee69fcfc14ed5.tar.bz2 mpv-6506d4ad84eac67e69437def2c8ee69fcfc14ed5.tar.xz |
cleanup: remove more warnings
Diffstat (limited to 'stream/vcd_read.h')
-rw-r--r-- | stream/vcd_read.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/stream/vcd_read.h b/stream/vcd_read.h index 910561ad74..8b8d2ab817 100644 --- a/stream/vcd_read.h +++ b/stream/vcd_read.h @@ -62,7 +62,8 @@ static inline unsigned int vcd_get_msf(mp_vcd_priv_t* vcd){ vcd->entry.cdte_addr.msf.minute*60)*75 - 150; } -int vcd_seek_to_track(mp_vcd_priv_t* vcd,int track){ +static int vcd_seek_to_track(mp_vcd_priv_t* vcd, int track) +{ vcd->entry.cdte_format = CDROM_MSF; vcd->entry.cdte_track = track; if (ioctl(vcd->fd, CDROMREADTOCENTRY, &vcd->entry)) { |