changeset 1572:a548346f1551 trunk

[svn] - further cleanup
author nenolod
date Fri, 11 Aug 2006 01:22:15 -0700
parents 0b69bc0eb2d2
children 56e1da886c9f
files ChangeLog Plugins/Container/xspf/xspf.c
diffstat 2 files changed, 10 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Fri Aug 11 01:17:05 2006 -0700
+++ b/ChangeLog	Fri Aug 11 01:22:15 2006 -0700
@@ -1,3 +1,12 @@
+2006-08-11 08:17:05 +0000  William Pitcock <nenolod@nenolod.net>
+  revision [2056]
+  - if uri == NULL, then continue looking for URIs in the XSPF playlist
+  
+
+  Changes:        Modified:
+  +4 -0           trunk/Plugins/Container/xspf/xspf.c  
+
+
 2006-08-11 08:14:23 +0000  William Pitcock <nenolod@nenolod.net>
   revision [2054]
   - wma: use posix_memalign() instead of memalign() in some more spots
--- a/Plugins/Container/xspf/xspf.c	Fri Aug 11 01:17:05 2006 -0700
+++ b/Plugins/Container/xspf/xspf.c	Fri Aug 11 01:22:15 2006 -0700
@@ -158,7 +158,7 @@
 	if (n == NULL)
 		return;
 
-	for (i = 0; i < n->nodeNr; i++)
+	for (i = 0; i < n->nodeNr && n->nodeTab[i]->children != NULL; i++)
 	{
 		char *uri = XML_GET_CONTENT(n->nodeTab[i]->children);