diff src/m3u/m3u.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 b0089144466d
children 2ebeb7816c5e
line wrap: on
line diff
--- a/src/m3u/m3u.c	Sat Sep 08 21:21:30 2007 -0500
+++ b/src/m3u/m3u.c	Sun Sep 09 22:06:10 2007 +0300
@@ -166,7 +166,7 @@
     if (cfg.use_pl_metadata)
         vfs_fprintf(file, "#EXTM3U\n");
 
-    PLAYLIST_LOCK(playlist->mutex);
+    PLAYLIST_LOCK(playlist);
 
     for (node = playlist->entries; node; node = g_list_next(node)) {
         PlaylistEntry *entry = PLAYLIST_ENTRY(node->data);
@@ -194,7 +194,7 @@
         g_free(fn);
     }
 
-    PLAYLIST_UNLOCK(playlist->mutex);
+    PLAYLIST_UNLOCK(playlist);
 
     vfs_fclose(file);
 }