From 1c67c05e8cc1f94c52f13c408db229cfae1ccd04 Mon Sep 17 00:00:00 2001 From: reimar Date: Sun, 29 Jul 2007 15:35:52 +0000 Subject: Make vcd_get_track_end actually return the end, not the start on Darwin git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23915 b3059339-0415-0410-9bf9-f77b7e298cf2 --- stream/vcd_read_darwin.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stream') diff --git a/stream/vcd_read_darwin.h b/stream/vcd_read_darwin.h index 4a66b5d823..9eb3e9662a 100644 --- a/stream/vcd_read_darwin.h +++ b/stream/vcd_read_darwin.h @@ -81,7 +81,7 @@ int vcd_get_track_end(mp_vcd_priv_t* vcd, int track) //read track info memset( &vcd->entry, 0, sizeof(vcd->entry)); vcd->entry.addressType = kCDTrackInfoAddressTypeTrackNumber; - vcd->entry.address = track<(hdr.lastTrackNumberInLastSessionLSB+1)?(track):CDROM_LEADOUT; + vcd->entry.address = trackentry.bufferLength = sizeof(entry); vcd->entry.buffer = &entry; -- cgit v1.2.3