# HG changeset patch # User arpi # Date 1019152885 0 # Node ID ad7d3044bea40b144e5f2b68545f3853dfc57d65 # Parent f19dff1456ed2927ce2c4cc346b7b1baf5eac31b show extended mp3 info diff -r f19dff1456ed -r ad7d3044bea4 libmpdemux/aviprint.c --- a/libmpdemux/aviprint.c Thu Apr 18 17:59:32 2002 +0000 +++ b/libmpdemux/aviprint.c Thu Apr 18 18:01:25 2002 +0000 @@ -52,7 +52,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); @@ -61,6 +60,14 @@ printf("Block align: %d\n",h->nBlockAlign); printf("bits/sample: %d\n",h->wBitsPerSample); printf("cbSize: %d\n",h->cbSize); + if(h->wFormatTag=0x55 && h->cbSize>=12){ + MPEGLAYER3WAVEFORMAT* h2=h; + printf("mp3.wID=%d\n",h2->wID); + printf("mp3.fdwFlags=0x%X\n",h2->fdwFlags); + printf("mp3.nBlockSize=%d\n",h2->nBlockSize); + printf("mp3.nFramesPerBlock=%d\n",h2->nFramesPerBlock); + printf("mp3.nCodecDelay=%d\n",h2->nCodecDelay); + } }