Mercurial > audlegacy-plugins
diff src/xspf/xspf.c @ 1675:ae9b0327b620
Fix plugins to conform with PLAYLIST_{UN}LOCK() change.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 09 Sep 2007 22:06:10 +0300 |
parents | e1985da23d28 |
children | 3f9c00a2870f f35f9d6fcb6d |
line wrap: on
line diff
--- a/src/xspf/xspf.c Sat Sep 08 21:21:30 2007 -0500 +++ b/src/xspf/xspf.c Sun Sep 09 22:06:10 2007 +0300 @@ -371,7 +371,7 @@ xmlSetProp(rootnode, (xmlChar *)"version", (xmlChar *)"1"); xmlSetProp(rootnode, (xmlChar *)"xmlns", (xmlChar *)XSPF_XMLNS); - PLAYLIST_LOCK(playlist->mutex); + PLAYLIST_LOCK(playlist); /* relative */ if (playlist->attribute & PLAYLIST_USE_RELATIVE) { @@ -561,7 +561,7 @@ filename = NULL; } - PLAYLIST_UNLOCK(playlist->mutex); + PLAYLIST_UNLOCK(playlist); xmlSaveFormatFile(filename, doc, 1); xmlFreeDoc(doc);