diff options
Diffstat (limited to 'src/playlist')
-rw-r--r-- | src/playlist/cue_playlist_plugin.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/playlist/cue_playlist_plugin.c b/src/playlist/cue_playlist_plugin.c index d2959dab2..75bc54847 100644 --- a/src/playlist/cue_playlist_plugin.c +++ b/src/playlist/cue_playlist_plugin.c @@ -107,15 +107,14 @@ 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); if (track != NULL) - song->end_ms = ((track_get_start(track) - + track_get_index(track, 1) - - track_get_zero_pre(track)) * 1000) / 75; + song->end_ms = ((track_get_start(track) + + track_get_index(track, 1) + - track_get_zero_pre(track)) * 1000) / 75; return song; } |