summaryrefslogtreecommitdiffstats
path: root/TOOLS
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-03-27 17:25:41 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-03-27 17:25:41 +0000
commita33158d60d04f21ee10881ccc5cd295e1aae5bca (patch)
tree021a6f021ecf99a2deebe6d17cb1574dc97673a5 /TOOLS
parente2c173be10fa87ef6df3049d80fcca80a2d1a174 (diff)
downloadmpv-a33158d60d04f21ee10881ccc5cd295e1aae5bca.tar.bz2
mpv-a33158d60d04f21ee10881ccc5cd295e1aae5bca.tar.xz
Convert printfs in aviprint.c to mp_msg and give the information printing
functions in this file a verbosity_level parameter. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17978 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'TOOLS')
-rw-r--r--TOOLS/asfinfo.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/TOOLS/asfinfo.c b/TOOLS/asfinfo.c
index ab29aa865f..56e5e0111b 100644
--- a/TOOLS/asfinfo.c
+++ b/TOOLS/asfinfo.c
@@ -105,7 +105,7 @@ char* chunk_type(unsigned char* guid){
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_wave_header(WAVEFORMATEX *h){
}
-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 @@ while(fread(&objh,sizeof(objh),1,f)>0){
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: