summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGravatar waker <waker@studio.localdomain>2009-09-05 11:51:47 +0200
committerGravatar waker <waker@studio.localdomain>2009-09-05 11:51:47 +0200
commit69b289f0e708f43c75b3d7cf5d43a4c6ec710760 (patch)
tree4cdc8c7edd666611eade06913f6484eb7f2c23d5 /plugins
parent1d29776eca8cda3d24bd7dc9a9ae7ac6aefdf8bb (diff)
mp3 bugfixing WIP
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mpgmad/mpgmad.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/mpgmad/mpgmad.c b/plugins/mpgmad/mpgmad.c
index c22e5dc9..d359e717 100644
--- a/plugins/mpgmad/mpgmad.c
+++ b/plugins/mpgmad/mpgmad.c
@@ -273,10 +273,12 @@ cmp3_scan_stream (buffer_t *buffer, float position) {
int nseeks = 0;
int pos = ftell (buffer->file);
+ fprintf (stderr, "filepos: %d\n", pos);
if (pos <= 0) {
// try to skip id3v2
int skip = deadbeef->junk_get_leading_size (buffer->file);
if (skip > 0) {
+ fprintf (stderr, "skipping %d bytes of junk\n", skip);
fseek (buffer->file, skip, SEEK_SET);
}
}