summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2011-01-02 17:04:13 +0100
committerGravatar waker <wakeroid@gmail.com>2011-01-02 17:04:13 +0100
commitd5a14f3678d81f609278c2b5019ff1c3c3a9ce53 (patch)
tree9fe442c02ce165044a866009bc563630dd780e16 /plugins
parentc38896db361a3dc571fe283c8cf5847bc4c6c6c9 (diff)
fixed pls loading bug in m3u plugin
Diffstat (limited to 'plugins')
-rw-r--r--plugins/m3u/m3u.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/m3u/m3u.c b/plugins/m3u/m3u.c
index b5f5425a..2f78bdd5 100644
--- a/plugins/m3u/m3u.c
+++ b/plugins/m3u/m3u.c
@@ -21,8 +21,8 @@
#include <stdlib.h>
#include "../../deadbeef.h"
-#define trace(...) { fprintf(stderr, __VA_ARGS__); }
-//#define trace(fmt,...)
+//#define trace(...) { fprintf(stderr, __VA_ARGS__); }
+#define trace(fmt,...)
#define min(x,y) ((x)<(y)?(x):(y))
#define max(x,y) ((x)>(y)?(x):(y))
@@ -273,7 +273,6 @@ load_pls (DB_playItem_t *after, const char *fname, int *pabort, int (*cb)(DB_pla
n = e-p;
n = min (n, sizeof (length)-1);
memcpy (length, p, n);
- break;
}
else {
trace ("invalid entry in pls file: %s\n", p);