diff options
author | Alexey Yakovenko <wakeroid@gmail.com> | 2009-09-23 08:34:15 +0200 |
---|---|---|
committer | Alexey Yakovenko <wakeroid@gmail.com> | 2009-09-23 08:34:15 +0200 |
commit | 5c97505df8fe5ccb42ffb005aa95e15b63753049 (patch) | |
tree | bd0ce8e75dc29f4610ee4e2ea4227da192e31ff2 /plugins/flac | |
parent | d377cbbef40a2ea672d746c1c9e0a6643125c7e2 (diff) |
fixed flac cue regression
Diffstat (limited to 'plugins/flac')
-rw-r--r-- | plugins/flac/flac.c | 2 |
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(); |