Update of /cvsroot/xine/xine-lib/src/xine-engine
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv31572
Modified Files:
load_plugins.c
Log Message:
Fix building with LOG enabled.
Index: load_plugins.c
===================================================================
RCS file: /cvsroot/xine/xine-lib/src/xine-engine/load_plugins.c,v
retrieving revision 1.229
retrieving revision 1.230
diff -u -r1.229 -r1.230
--- load_plugins.c 18 Jan 2007 23:30:18 -0000 1.229
+++ load_plugins.c 19 Feb 2007 23:33:33 -0000 1.230
@@ -1989,18 +1989,19 @@
return 0;
}
-
#ifdef LOG
static void _display_file_plugin_list (xine_list_t *list, plugin_file_t *file)
{
- plugin_node_t *node;
+ xine_list_iterator_t ite = xine_list_front(list);
+
+ while (ite) {
+ plugin_node_t *node = xine_list_get_value(list, ite);
- node = xine_list_first_content(list);
- while (node) {
if ((node->file == file) && (node->ref)) {
printf(" plugin: %s, class: %p , %d instance(s)\n",
node->info->id, node->plugin_class, node->ref);
}
- node = xine_list_next_content(list);
+
+ ite = xine_list_next(list, ite);
}
}
#endif
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Xine-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xine-cvslog