summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2009-08-27 19:53:28 +0200
committerGravatar waker <wakeroid@gmail.com>2009-08-27 19:53:28 +0200
commit276b4c66d5567e1d6b78e9445f9fd546b2b93176 (patch)
tree0bdef1328aeea6e18531e8fca2e1cf9f8f156da9
parent9f696086fa2f1c0da2a4835dfc19c24260572380 (diff)
fixed cuesheet reading for files with non-ascii names
-rw-r--r--playlist.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/playlist.c b/playlist.c
index c033583a..66b3a669 100644
--- a/playlist.c
+++ b/playlist.c
@@ -61,7 +61,7 @@ pl_free (void) {
}
static char *
-pl_cue_skipspaces (char *p) {
+pl_cue_skipspaces (uint8_t *p) {
while (*p && *p <= ' ') {
p++;
}
@@ -182,7 +182,6 @@ pl_insert_cue (playItem_t *after, const char *fname, codec_t *codec, const char
}
else if (!strncmp (p, "FILE ", 5)) {
pl_get_qvalue_from_cue (p + 5, file);
-// printf ("got filename: %s\n", file);
// copy directory name
char fname[1024];
int len = strlen (cuename);