From d62bef6ee5723c514d281eb3db301d0cea5042cd Mon Sep 17 00:00:00 2001 From: reimar Date: Mon, 5 Apr 2010 19:31:55 +0000 Subject: Try to fix VCD compilation on non-Linux systems. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31023 b3059339-0415-0410-9bf9-f77b7e298cf2 --- stream/stream_vcd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stream/stream_vcd.c') diff --git a/stream/stream_vcd.c b/stream/stream_vcd.c index 08ae9b4de3..22f05c21e7 100644 --- a/stream/stream_vcd.c +++ b/stream/stream_vcd.c @@ -99,7 +99,7 @@ static int control(stream_t *stream, int cmd, void *arg) { mp_vcd_priv_t *vcd = vcd_read_toc(stream->fd); if (!vcd) break; - *(unsigned int *)arg = vcd->tochdr.cdth_trk1; + *(unsigned int *)arg = vcd_end_track(vcd); return STREAM_OK; } case STREAM_CTRL_SEEK_TO_CHAPTER: -- cgit v1.2.3