summaryrefslogtreecommitdiff
path: root/plugins/mpgmad
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2012-10-09 20:12:51 +0200
committerGravatar waker <wakeroid@gmail.com>2012-10-09 20:12:51 +0200
commitaa6117ca31c934e443b60c5070107b15eaf358e1 (patch)
treefe0267f65e57bb9d9e3229d47e4000dab166d45f /plugins/mpgmad
parent279d9bc28a429aaaed9bab0683736bbd89de3ecc (diff)
mp3: fixed trk properties samplerate
Diffstat (limited to 'plugins/mpgmad')
-rw-r--r--plugins/mpgmad/mpgmad.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/plugins/mpgmad/mpgmad.c b/plugins/mpgmad/mpgmad.c
index 132adebc..c8a696ad 100644
--- a/plugins/mpgmad/mpgmad.c
+++ b/plugins/mpgmad/mpgmad.c
@@ -579,8 +579,6 @@ cmp3_scan_stream (buffer_t *buffer, int sample) {
}
}
if (sample == 0) {
- trace ("cmp3_scan_stream: trying to figure out duration from file size\n");
- buffer->samplerate = samplerate;
if (buffer->file->vfs->is_streaming ()) {
// only suitable for cbr files, used if streaming
int sz = deadbeef->fgetlength (buffer->file);