summaryrefslogtreecommitdiffstats
path: root/stream/vcd_read_win32.h
diff options
context:
space:
mode:
Diffstat (limited to 'stream/vcd_read_win32.h')
-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--;