Mercurial > mplayer.hg
changeset 25158:ad0ac6f589eb
Return correct length in ID_VCD_TRACK_n_MSF
author | zuxy |
---|---|
date | Wed, 28 Nov 2007 11:34:01 +0000 |
parents | cf3b6015735d |
children | fb1bd7bf749d |
files | stream/vcd_read_win32.h |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/stream/vcd_read_win32.h Wed Nov 28 00:01:35 2007 +0000 +++ b/stream/vcd_read_win32.h Wed Nov 28 11:34:01 2007 +0000 @@ -84,6 +84,8 @@ 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--;