# HG changeset patch # User arpi_esp # Date 987017118 0 # Node ID 8cbc038b054795dc360c861bf7dd38e87c5e87e8 # Parent 94b8455bf69c96e152f20687b75ed5a3dba833ca removed old audio format printfs diff -r 94b8455bf69c -r 8cbc038b0547 aviprint.c --- a/aviprint.c Wed Apr 11 16:44:20 2001 +0000 +++ b/aviprint.c Wed Apr 11 19:25:18 2001 +0000 @@ -33,7 +33,6 @@ void print_wave_header(WAVEFORMATEX *h){ printf("======= WAVE Format =======\n"); - printf("Format Tag: %d (0x%X)\n",h->wFormatTag,h->wFormatTag); printf("Channels: %d\n",h->nChannels); printf("Samplerate: %d\n",h->nSamplesPerSec); @@ -41,21 +40,6 @@ printf("Block align: %d\n",h->nBlockAlign); printf("bits/sample: %d\n",h->wBitsPerSample); printf("cbSize: %d\n",h->cbSize); - - switch(h->wFormatTag){ - case 0x01: printf("Audio in PCM format\n");break; - case 0x50: printf("Audio in MPEG Layer 1/2 format\n");break; - case 0x55: printf("Audio in MPEG Layer-3 format\n");break; // ACM - case 0x02: printf("Audio in MS ADPCM format\n");break; // ACM - case 0x11: printf("Audio in IMA ADPCM format\n");break; // ACM - case 0x31: - case 0x32: printf("Audio in MS GSM 6.10 format\n");break; // ACM - case 0x75: printf("Audio in VoxWare format\n");break; // DShow - case 0x160: - case 0x161: printf("Audio in DivX WMA format\n");break; // ACM - default: printf("Audio in UNKNOWN (id=0x%X) format\n",h->wFormatTag); - } - }