[MPlayer-cvslog] CVS: main/TOOLS asfinfo.c,1.2,1.3

Diego Biurrun CVS syncmail at mplayerhq.hu
Mon Mar 27 19:25:43 CEST 2006


CVS change done by Diego Biurrun CVS

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

Modified Files:
	asfinfo.c 
Log Message:
Convert printfs in aviprint.c to mp_msg and give the information printing
functions in this file a verbosity_level parameter.


Index: asfinfo.c
===================================================================
RCS file: /cvsroot/mplayer/main/TOOLS/asfinfo.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- asfinfo.c	11 Jun 2001 12:47:48 -0000	1.2
+++ asfinfo.c	27 Mar 2006 17:25:41 -0000	1.3
@@ -105,7 +105,7 @@
   return NULL;
 }
 
-void print_wave_header(WAVEFORMATEX *h){
+void print_wave_header(WAVEFORMATEX *h,MSGL_INFO){
 
   printf("======= WAVE Format =======\n");
   
@@ -135,7 +135,7 @@
 
 }
 
-void print_video_header(BITMAPINFOHEADER *h){
+void print_video_header(BITMAPINFOHEADER *h,MSGL_INFO){
   printf("======= VIDEO Format ======\n");
 	printf("  biSize %d\n", h->biSize);
 	printf("  biWidth %d\n", h->biWidth);
@@ -176,10 +176,10 @@
       fread(buffer,streamh.type_size,1,f);
       switch(*((unsigned int*)&streamh.type)){
       case 0xF8699E40:  // guid_audio_stream
-        print_wave_header((WAVEFORMATEX*)buffer);
+        print_wave_header((WAVEFORMATEX*)buffer,MSGL_INFO);
         break;
       case 0xBC19EFC0:  // guid_video_stream
-        print_video_header((BITMAPINFOHEADER*)&buffer[4+4+1+2]);
+        print_video_header((BITMAPINFOHEADER*)&buffer[4+4+1+2],MSGL_INFO);
         break;
       }
       // stream-specific data:




More information about the MPlayer-cvslog mailing list