summaryrefslogtreecommitdiff
path: root/plugins/flac
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-09-23 08:34:15 +0200
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-09-23 08:34:15 +0200
commit5c97505df8fe5ccb42ffb005aa95e15b63753049 (patch)
treebd0ce8e75dc29f4610ee4e2ea4227da192e31ff2 /plugins/flac
parentd377cbbef40a2ea672d746c1c9e0a6643125c7e2 (diff)
fixed flac cue regression
Diffstat (limited to 'plugins/flac')
-rw-r--r--plugins/flac/flac.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/plugins/flac/flac.c b/plugins/flac/flac.c
index 2e384e51..8622743a 100644
--- a/plugins/flac/flac.c
+++ b/plugins/flac/flac.c
@@ -426,8 +426,6 @@ cflac_insert (DB_playItem_t *after, const char *fname) {
// try external cue
DB_playItem_t *cue_after = deadbeef->pl_insert_cue (after, fname, &plugin, "flac", cb.totalsamples, cb.samplerate);
if (cue_after) {
- cue_after->endsample = cb.totalsamples-1;
- cue_after->duration = (cue_after->endsample - cue_after->startsample+1) * cb.samplerate;
return cue_after;
}
decoder = FLAC__stream_decoder_new();