[FFmpeg-devel] [PATCH] mov/aac: skip initial aac padding

Nicolas George nicolas.george at normalesup.org
Sun Jul 15 16:17:55 CEST 2012


L'octidi 28 messidor, an CCXX, Michael Niedermayer a écrit :
>  libavformat/isom.h |    1 +
>  libavformat/mov.c  |   12 ++++++++++++
>  tests/fate/aac.mak |   15 +++++++++++++++

Does the initial padding exist only when AAC is muxed into MOV?

If not, maybe a better solution would be to define AV_PKT_FLAG_FIRST (set
when the packet is the first data packet in a stream), and let the AAC
decoder set avctx->private->skip_samples when it is set.

Or even simpler, maybe, let the AAC decoder set avctx->private->skip_samples
initially and after a seek.

Regards,

-- 
  Nicolas George
-------------- 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/20120715/99bf332d/attachment.asc>


More information about the ffmpeg-devel mailing list