[MPlayer-cvslog] r30806 - trunk/stream/stream_cue.c
reimar
subversion at mplayerhq.hu
Mon Mar 1 20:57:43 CET 2010
Author: reimar
Date: Mon Mar 1 20:57:42 2010
New Revision: 30806
Log:
Fix cue_vcd_get_track_end to not change the current position.
Modified:
trunk/stream/stream_cue.c
Modified: trunk/stream/stream_cue.c
==============================================================================
--- trunk/stream/stream_cue.c Mon Mar 1 20:35:18 2010 (r30805)
+++ trunk/stream/stream_cue.c Mon Mar 1 20:57:42 2010 (r30806)
@@ -479,11 +479,10 @@ static int cue_vcd_seek_to_track (int tr
}
static int cue_vcd_get_track_end (int track){
- cue_current_pos.frame = tracks[track].frame;
- cue_current_pos.second = tracks[track].second;
- cue_current_pos.minute = tracks[track].minute;
+ int sector = cue_msf_2_sector(tracks[track].minute, tracks[track].second,
+ tracks[track].frame);
- return VCD_SECTOR_DATA * cue_get_msf();
+ return VCD_SECTOR_DATA * sector;
}
static void cue_vcd_read_toc(void){
More information about the MPlayer-cvslog
mailing list