Mercurial > mplayer.hg
changeset 23895:5ebab6056efc
Make vcd_get_track_end actually return the end, not the start on Darwin
author | reimar |
---|---|
date | Sun, 29 Jul 2007 15:35:52 +0000 |
parents | 10fb4653c48d |
children | ae9ebf311ffd |
files | stream/vcd_read_darwin.h |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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 = track<hdr.lastTrackNumberInLastSessionLSB?track+1:CDROM_LEADOUT; vcd->entry.bufferLength = sizeof(entry); vcd->entry.buffer = &entry;