# HG changeset patch # User nenolod # Date 1155284225 25200 # Node ID 0b69bc0eb2d2fc3671b4df2a2b3d0c9d52b13fcc # Parent 4023a295db39cecaa483844164e177ed4fc90872 [svn] - if uri == NULL, then continue looking for URIs in the XSPF playlist diff -r 4023a295db39 -r 0b69bc0eb2d2 ChangeLog --- 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 + 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 revision [2052] - Plugins/Container/xspf/xspf.c: xspf cleanups diff -r 4023a295db39 -r 0b69bc0eb2d2 Plugins/Container/xspf/xspf.c --- 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);