[MPlayer-cvslog] r25186 - trunk/stream/vcd_read_win32.h

zuxy subversion at mplayerhq.hu
Wed Nov 28 12:34:01 CET 2007


Author: zuxy
Date: Wed Nov 28 12:34:01 2007
New Revision: 25186

Log:
Return correct length in ID_VCD_TRACK_n_MSF


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:34:01 2007
@@ -84,6 +84,8 @@ mp_vcd_priv_t* vcd_read_toc(int fd)
 	if (mp_msg_test(MSGT_IDENTIFY, MSGL_INFO)) {
 	    if (i > vcd->toc.FirstTrack) {
 		min = vcd->toc.TrackData[index].Address[1] - min;
+		sec = vcd->toc.TrackData[index].Address[2] - sec;
+		frame = vcd->toc.TrackData[index].Address[3] - frame;
 		if (frame < 0) {
 		    frame += 75;
 		    sec--;



More information about the MPlayer-cvslog mailing list