[FFmpeg-devel] [PATCH] ffmpeg.c: Strip off ADTS Header from AAC audio as it is needed only in TS and not needed in 3GP, MP4, FLV, ISM formats

Michael Niedermayer michaelni at gmx.at
Tue Aug 30 23:12:45 CEST 2011

On Mon, Aug 29, 2011 at 10:50:31PM +0000, Chiranjeevi Melam wrote:
> Hi,
> As per feedback, moved this feature to ffmpeg/libavcodec/aac_adtstoasc_bsf.c file and created a new function " SkipADTSHeader" in the file ffmpeg/libavcodec/aac_adtstoasc_bsf.c.
> Thanks,
> Chiru

The idea was to do it in a bitstream reader or a muxer, adding a
new global function somewhere and calling that isnt improving it much.

doing it in the muxer would mean the muxer would itself run the code
when needed. and no changes would be needed in ffmpeg.c

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I do not agree with what you have to say, but I'll defend to the death your
right to say it. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110830/96031051/attachment.asc>

More information about the ffmpeg-devel mailing list