Mercurial > mplayer.hg
diff libmpcodecs/ad_realaud.c @ 8094:b8a90a2af611
- realaudio ATRC (sony atrac3) codec support
- fixed passing of codecdata from demuxer to codec
patch by Fabian Franz <FabianFranz@gmx.de>
author | arpi |
---|---|
date | Mon, 04 Nov 2002 00:23:53 +0000 |
parents | 18f8233094da |
children | 2d651a218031 |
line wrap: on
line diff
--- a/libmpcodecs/ad_realaud.c Sun Nov 03 23:28:48 2002 +0000 +++ b/libmpcodecs/ad_realaud.c Mon Nov 04 00:23:53 2002 +0000 @@ -112,9 +112,9 @@ sh->wf->nSamplesPerSec,sh->wf->wBitsPerSample,sh->wf->nChannels, 100, // ??? ((short*)(sh->wf+1))[0], // subpacket size - sh->wf->nBlockAlign, - 16, // ?? - ((char*)(sh->wf+1))+6+8 + ((short*)(sh->wf+1))[3], // coded frame size + ((short*)(sh->wf+1))[4], // codec data length + ((char*)(sh->wf+1))+10 // extras }; result=raInitDecoder(sh->context,&init_data); if(result){