[Mplayer-cvslog] CVS: main/libmpdemux extension.c,1.2,1.3

Alex Beregszaszi alex at mplayerhq.hu
Fri Jan 24 19:39:13 CET 2003


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

Modified Files:
	extension.c 
Log Message:
cosmetic for 0.90, printf->mp_msg (hm..probably arpi will piss of me?:)

Index: extension.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/extension.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- extension.c	19 Jan 2003 00:40:48 -0000	1.2
+++ extension.c	24 Jan 2003 18:38:54 -0000	1.3
@@ -51,14 +51,14 @@
 int demuxer_type_by_filename(char* filename){
   int i;
   char* extension=strrchr(filename,'.');
-  printf("Searching demuxer type for filename %s ext: %s\n",filename,extension);
+  mp_msg(MSGT_OPEN, MSGL_V, "Searching demuxer type for filename %s ext: %s\n",filename,extension);
   if(extension) {
     ++extension;
 //    mp_msg(MSGT_CPLAYER,MSGL_DBG2,"Extension: %s\n", extension );
     // Look for the extension in the extensions table
     for( i=0 ; i<(sizeof(extensions_table)/sizeof(extensions_table[0])) ; i++ ) {
       if( !strcasecmp(extension, extensions_table[i].extension) ) {
-        printf("\n!!! trying demuxer %d based on filename extension\n",extensions_table[i].demuxer_type);
+        mp_msg(MSGT_OPEN, MSGL_V, "Trying demuxer %d based on filename extension\n",extensions_table[i].demuxer_type);
         return extensions_table[i].demuxer_type;
       }
     }



More information about the MPlayer-cvslog mailing list