[MPlayer-cvslog] CVS: main mplayer.c,1.824,1.825

Reimar Döffinger CVS syncmail at mplayerhq.hu
Mon Dec 27 20:43:15 CET 2004


CVS change done by Reimar Döffinger CVS

Update of /cvsroot/mplayer/main
In directory mail:/var2/tmp/cvs-serv8096

Modified Files:
	mplayer.c 
Log Message:
100l, buf etc. in af_fmt2str call are already pointers...


Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.824
retrieving revision 1.825
diff -u -r1.824 -r1.825
--- mplayer.c	27 Dec 2004 19:34:42 -0000	1.824
+++ mplayer.c	27 Dec 2004 19:43:12 -0000	1.825
@@ -2108,7 +2108,7 @@
     char buf[128];
     mp_msg(MSGT_CPLAYER,MSGL_INFO,"AF_pre: %dHz %dch %s\n",
       ao_data.samplerate, ao_data.channels,
-      af_fmt2str(ao_data.format,&buf,128));
+      af_fmt2str(ao_data.format, buf, 128));
   }
 #endif  
   current_module="ao2_init";
@@ -2128,7 +2128,7 @@
     mp_msg(MSGT_CPLAYER,MSGL_INFO,"AO: [%s] %dHz %dch %s (%d bps)\n",
       audio_out->info->short_name,
       ao_data.samplerate, ao_data.channels,
-      af_fmt2str(ao_data.format, &buf, 128),
+      af_fmt2str(ao_data.format, buf, 128),
       af_fmt2bits(ao_data.format)/8 );
     mp_msg(MSGT_CPLAYER,MSGL_V,"AO: Description: %s\nAO: Author: %s\n",
       audio_out->info->name, audio_out->info->author);




More information about the MPlayer-cvslog mailing list