[Ffmpeg-devel] possible patch: create AAC global headers

Luca Abeni lucabe72
Mon Mar 27 11:34:16 CEST 2006

Hi all,

I am reading a TS containing AAC audio, and I need the AAC audio frames
without the ADTS header. I could easily skip the first 7 bytes of every
frame in my application, but I tried doing something more useful for

With the attached patch, if CODEC_FLAG_GLOBAL_HEADER is set the parser
removes the ADTS header from the AAC stream and fills extradata with the
AAC global headers.

The patch works for me, but I do not know if it is correct or if its
behaviour is useful for ffmpeg... What do you think?

Copy this in your signature, if you think it is important:
                               N O    W A R ! ! !

-------------- next part --------------
A non-text attachment was scrubbed...
Name: aac-global-header.diff
Type: text/x-patch
Size: 2191 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060327/1d8d1876/attachment.bin>

More information about the ffmpeg-devel mailing list