From 69b289f0e708f43c75b3d7cf5d43a4c6ec710760 Mon Sep 17 00:00:00 2001 From: waker Date: Sat, 5 Sep 2009 11:51:47 +0200 Subject: mp3 bugfixing WIP --- plugins/mpgmad/mpgmad.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'plugins') 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); } } -- cgit v1.2.3