summaryrefslogtreecommitdiff
path: root/playlist.c
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2009-08-31 23:01:53 +0200
committerGravatar waker <wakeroid@gmail.com>2009-08-31 23:01:53 +0200
commit011624b9af820f54d3bdbb9dfcae985b0d5c8d7c (patch)
tree7ebd01a1cef3af3bd911433af44f883fe16e0b29 /playlist.c
parentcad9f623e684c39f210829363866991f76636596 (diff)
added libdemac
Diffstat (limited to 'playlist.c')
-rw-r--r--playlist.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/playlist.c b/playlist.c
index e53ccc2c..08c0e410 100644
--- a/playlist.c
+++ b/playlist.c
@@ -178,6 +178,8 @@ pl_insert_cue_from_buffer (playItem_t *after, const char *fname, const uint8_t *
}
}
else if (!strncmp (p, "FILE ", 5)) {
+ // ignore
+#if 0
pl_get_qvalue_from_cue (p + 5, file);
// copy directory name
char dirname[1024];
@@ -201,6 +203,7 @@ pl_insert_cue_from_buffer (playItem_t *after, const char *fname, const uint8_t *
// copy full name in place of relative name
strcpy (file, dirname);
// printf ("ended up as: %s\n", file);
+#endif
}
else if (!strncmp (p, "TRACK ", 6)) {
pl_get_value_from_cue (p + 6, track);
@@ -242,7 +245,7 @@ pl_insert_cue_from_buffer (playItem_t *after, const char *fname, const uint8_t *
playItem_t *it = malloc (sizeof (playItem_t));
memset (it, 0, sizeof (playItem_t));
it->decoder = decoder;
- it->fname = strdup (file);
+ it->fname = strdup (fname);
it->tracknum = atoi (track);
it->timestart = tstart;
it->timeend = -1; // will be filled by next read, or by decoder