cue: fix code style

This commit is contained in:
Orivej Desh 2010-04-01 08:12:25 +02:00 committed by Max Kellermann
parent 8446b70ddc
commit 50c0c4b701
2 changed files with 9 additions and 10 deletions

View File

@ -181,7 +181,7 @@ cue_tag(struct Cd *cd, unsigned tnum)
tag->time = track_get_length(track)
- track_get_index(track, 1)
+ track_get_zero_pre(track);
track = cd_get_track(cd, tnum+1);
track = cd_get_track(cd, tnum + 1);
if (track != NULL)
tag->time += track_get_index(track, 1)
- track_get_zero_pre(track);

View File

@ -107,8 +107,7 @@ cue_playlist_read(struct playlist_provider *_playlist)
- track_get_zero_pre(track)) * 1000) / 75;
song->end_ms = ((track_get_start(track) + track_get_length(track)
- track_get_index(track, 1)
+ track_get_zero_pre(track))
* 1000) / 75;
+ track_get_zero_pre(track)) * 1000) / 75;
/* append pregap of the next track to the end of this one */
track = cd_get_track(playlist->cd, playlist->next);