[MPlayer-dev-eng] About ADTS header, add adts header to raw aac data

Nico Sabbi Nicola.Sabbi at poste.it
Tue Sep 25 10:54:27 CEST 2007


Il Tuesday 25 September 2007 10:49:58 Nico Sabbi ha scritto:
> if(es->extradata && es->extradata_len)
> {
>  sh->wf = (WAVEFORMATEX *) malloc(sizeof(WAVEFORMATEX) +
> es->extradata_len);
> sh->wf->cbSize = es->extradata_len;
> memcpy(sh->wf + 1, es->extradata,es->extradata_len);
> }

btw, there are also other things to consider:
- always add --disable-faad-internal to mplayer's configure (use faad 
from cvs instead)
- there are few rare object types such as BSAC that faad doesn't 
decode



More information about the MPlayer-dev-eng mailing list