# HG changeset patch # User reimar # Date 1185723352 0 # Node ID 5ebab6056efca039d07d263c670a871c423b9bd8 # Parent 10fb4653c48d14b9300e3aa1d856aaf0609470b6 Make vcd_get_track_end actually return the end, not the start on Darwin diff -r 10fb4653c48d -r 5ebab6056efc stream/vcd_read_darwin.h --- a/stream/vcd_read_darwin.h Sun Jul 29 14:42:07 2007 +0000 +++ b/stream/vcd_read_darwin.h Sun Jul 29 15:35:52 2007 +0000 @@ -81,7 +81,7 @@ //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;