summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
authorzuxy <zuxy@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-11-28 11:34:01 +0000
committerzuxy <zuxy@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-11-28 11:34:01 +0000
commitea9b477dc7ba830c5fcba9a2283021d49c9239c9 (patch)
tree300baa0d69293a104614db16e192bd1d6faa324a /stream
parente3c9524d66036b0267beb23658fda920f5973c75 (diff)
downloadmpv-ea9b477dc7ba830c5fcba9a2283021d49c9239c9.tar.bz2
mpv-ea9b477dc7ba830c5fcba9a2283021d49c9239c9.tar.xz
Return correct length in ID_VCD_TRACK_n_MSF
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25186 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream')
-rw-r--r--stream/vcd_read_win32.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/stream/vcd_read_win32.h b/stream/vcd_read_win32.h
index 76eca8f634..a88f45bd43 100644
--- a/stream/vcd_read_win32.h
+++ b/stream/vcd_read_win32.h
@@ -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--;