summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphintuka <phintuka>2012-01-30 07:47:36 +0000
committerphintuka <phintuka>2012-01-30 07:47:36 +0000
commit4b02ec580de46606f5d26190d616c54bf5be8252 (patch)
tree33720332200b70f47369146376b5627014146e35
parentcd4cc488c089b2ed475c5fea0fbc3bf1c9cdeb1a (diff)
downloadxineliboutput-4b02ec580de46606f5d26190d616c54bf5be8252.tar.gz
xineliboutput-4b02ec580de46606f5d26190d616c54bf5be8252.tar.bz2
Fixed .pls playlist parsing (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=656732)
-rw-r--r--tools/playlist.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/playlist.c b/tools/playlist.c
index e65a03c0..24648eaf 100644
--- a/tools/playlist.c
+++ b/tools/playlist.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: playlist.c,v 1.33 2010-12-19 14:25:38 phintuka Exp $
+ * $Id: playlist.c,v 1.34 2012-01-30 07:47:36 phintuka Exp $
*
*/
@@ -347,9 +347,9 @@ class cPlsReader : public cPlaylistReader
1 == sscanf(line + 5, "%d=", &n)) {
if(*(t+1)) {
if(n == m_Current)
- Prev()->Title = t;
+ Prev()->Title = t+1;
else
- m_Title = t;
+ m_Title = t+1;
}
}
//else if(!strncasecmp(line, "length", 6) &&