changeset 2397:763d8f49612b

correct frame time to 1/75sec. pointed out by Piotr Garus. it closes #162.
author Yoshiki Yazawa <yaz@cc.rim.or.jp>
date Fri, 15 Feb 2008 21:52:09 +0900
parents 0504110c694b
children 684a26ccca54
files src/cue/cuesheet.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/cue/cuesheet.c	Fri Feb 15 21:46:58 2008 +0900
+++ b/src/cue/cuesheet.c	Fri Feb 15 21:52:09 2008 +0900
@@ -765,8 +765,7 @@
 			for (q = p; line[q] && !isspace((int) line[q]); q++);
 
             if(sscanf(line+p, "%d:%d:%d", &min, &sec, &frac) == 3) {
-//                printf("%3d:%02d:%02d\n", min, sec, frac);
-                cue_tracks[last_cue_track-1].index = min * 60000 + sec * 1000 + frac * 10;
+                cue_tracks[last_cue_track-1].index = min * 60000 + sec * 1000 + frac * 1000 / 75;
             }
         }
     }