[MPlayer-cvslog] r23915 - trunk/stream/vcd_read_darwin.h

reimar subversion at mplayerhq.hu
Sun Jul 29 17:35:52 CEST 2007


Author: reimar
Date: Sun Jul 29 17:35:52 2007
New Revision: 23915

Log:
Make vcd_get_track_end actually return the end, not the start on Darwin


Modified:
   trunk/stream/vcd_read_darwin.h

Modified: trunk/stream/vcd_read_darwin.h
==============================================================================
--- trunk/stream/vcd_read_darwin.h	(original)
+++ trunk/stream/vcd_read_darwin.h	Sun Jul 29 17:35:52 2007
@@ -81,7 +81,7 @@ int vcd_get_track_end(mp_vcd_priv_t* vcd
 	//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;
   



More information about the MPlayer-cvslog mailing list