[MPlayer-cvslog] r25188 - trunk/stream/vcd_read_win32.h
zuxy
subversion at mplayerhq.hu
Wed Nov 28 12:48:45 CET 2007
Author: zuxy
Date: Wed Nov 28 12:48:45 2007
New Revision: 25188
Log:
Correct VCD track no. calculation on Windows.
Modified:
trunk/stream/vcd_read_win32.h
Modified: trunk/stream/vcd_read_win32.h
==============================================================================
--- trunk/stream/vcd_read_win32.h (original)
+++ trunk/stream/vcd_read_win32.h Wed Nov 28 12:48:45 2007
@@ -21,7 +21,7 @@ static inline void vcd_set_msf(mp_vcd_pr
}
static inline unsigned vcd_get_msf(mp_vcd_priv_t* vcd, int track){
- int index = track + vcd->toc.FirstTrack - 1;
+ int index = track - vcd->toc.FirstTrack;
/* -150 to compensate the 2-second pregap */
return vcd->toc.TrackData[index].Address[3] +
(vcd->toc.TrackData[index].Address[2] +
More information about the MPlayer-cvslog
mailing list