[Mplayer-cvslog] CVS: main/libmpcodecs ad_realaud.c,1.18,1.19
Arpi of Ize
arpi at mplayerhq.hu
Mon Nov 4 01:23:55 CET 2002
Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var/tmp.root/cvs-serv28388/libmpcodecs
Modified Files:
ad_realaud.c
Log Message:
- realaudio ATRC (sony atrac3) codec support
- fixed passing of codecdata from demuxer to codec
patch by Fabian Franz <FabianFranz at gmx.de>
Index: ad_realaud.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/ad_realaud.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- ad_realaud.c 16 Oct 2002 15:59:04 -0000 1.18
+++ ad_realaud.c 4 Nov 2002 00:23:52 -0000 1.19
@@ -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){
More information about the MPlayer-cvslog
mailing list