mirror of
https://github.com/mpv-player/mpv
synced 2025-01-03 05:22:23 +00:00
Return correct length in ID_VCD_TRACK_n_MSF
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25186 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
e3c9524d66
commit
ea9b477dc7
@ -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--;
|
||||
|
Loading…
Reference in New Issue
Block a user