[Mplayer-cvslog] CVS: main/libao2 ao_plugin.c,1.21,1.22

Arpi of Ize arpi at mplayerhq.hu
Sat Jan 18 02:06:29 CET 2003


Update of /cvsroot/mplayer/main/libao2
In directory mail:/var/tmp.root/cvs-serv22963

Modified Files:
	ao_plugin.c 
Log Message:
10l :)


Index: ao_plugin.c
===================================================================
RCS file: /cvsroot/mplayer/main/libao2/ao_plugin.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- ao_plugin.c	22 Sep 2002 02:33:24 -0000	1.21
+++ ao_plugin.c	18 Jan 2003 01:06:05 -0000	1.22
@@ -124,7 +124,7 @@
   // Create list of plugins from cfg option
   int i=0; 
   if(ao_plugin_cfg.plugin_list){
-    config = malloc(strlen(ao_plugin_cfg.plugin_list));
+    config = malloc(strlen(ao_plugin_cfg.plugin_list)+1);
     if(!config) return 0;
     if(!strcpy(config, ao_plugin_cfg.plugin_list) || !add_plugin(i,config)){
       free(config);



More information about the MPlayer-cvslog mailing list