changeset 1571:0b69bc0eb2d2 trunk

[svn] - if uri == NULL, then continue looking for URIs in the XSPF playlist
author nenolod
date Fri, 11 Aug 2006 01:17:05 -0700
parents 4023a295db39
children a548346f1551
files ChangeLog Plugins/Container/xspf/xspf.c
diffstat 2 files changed, 15 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Fri Aug 11 01:14:23 2006 -0700
+++ b/ChangeLog	Fri Aug 11 01:17:05 2006 -0700
@@ -1,3 +1,14 @@
+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
+  - xspf: return if filename is NULL
+  
+
+  Changes:        Modified:
+  +2 -0           trunk/Plugins/Container/xspf/xspf.c  
+  +3 -2           trunk/Plugins/Input/wma/wma.c  
+
+
 2006-08-11 05:40:31 +0000  William Pitcock <nenolod@nenolod.net>
   revision [2052]
   - Plugins/Container/xspf/xspf.c: xspf cleanups
--- a/Plugins/Container/xspf/xspf.c	Fri Aug 11 01:14:23 2006 -0700
+++ b/Plugins/Container/xspf/xspf.c	Fri Aug 11 01:17:05 2006 -0700
@@ -161,6 +161,10 @@
 	for (i = 0; i < n->nodeNr; i++)
 	{
 		char *uri = XML_GET_CONTENT(n->nodeTab[i]->children);
+
+		if (uri == NULL)
+			continue;
+
 		++pos;
 		playlist_ins(uri, pos);
 		g_free(uri);