[Mplayer-cvslog] CVS: main/libmpcodecs dec_audio.c,1.2,1.3

Alban Bedel CVS albeu at mplayerhq.hu
Thu May 2 12:40:38 CEST 2002


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

Modified Files:
	dec_audio.c 
Log Message:
printf to mp_msg


Index: dec_audio.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/dec_audio.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- dec_audio.c	1 Apr 2002 17:57:51 -0000	1.2
+++ dec_audio.c	2 May 2002 10:40:35 -0000	1.3
@@ -39,7 +39,7 @@
       return 0; // no such driver
   }
   
-  printf("Selecting Audio Decoder: [%s] %s\n",mpadec->info->short_name,mpadec->info->name);
+  mp_msg(MSGT_DECAUDIO,MSGL_INFO,"Selecting Audio Decoder: [%s] %s\n",mpadec->info->short_name,mpadec->info->name);
 
   // reset in/out buffer size/pointer:
   sh_audio->a_buffer_size=0;
@@ -64,7 +64,7 @@
   
   if(!mpadec->preinit(sh_audio))
   {
-      printf("ADecoder preinit failed :(\n");
+      mp_msg(MSGT_DECAUDIO,MSGL_ERR,"ADecoder preinit failed :(\n");
       return 0;
   }
 




More information about the MPlayer-cvslog mailing list