[FFmpeg-devel] [PATCH] latm: fix initialization on some streams when no extradata is available

Michael Niedermayer michaelni at gmx.at
Sun Jul 8 00:23:24 CEST 2012


On Thu, Jun 21, 2012 at 11:03:42AM +0200, Hendrik Leppkes wrote:
> Hi,
> 
> attached patch improves the behavior of the AAC LATM decoder when using
> avcodec directly (without avformat initing all values properly) and not
> having the LATM extradata available to initialize the codec.
> Essentially, it ensures the decoder is properly initialized, especially in
> the case when the sample rate and chan config are set properly, however due
> to missing extradata the remainder of the decoder was not fully initialized
> yet.
> 
> Feedback welcome.
> 
> - Hendrik

>  aacdec.c |    3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> bf9de564e1f252871b1d7031980726bfb6df9c1d  latm-fix-initialization-on-some-streams.patch
> From 371fda48c581ee7d7346e5216bf711a3596621ef Mon Sep 17 00:00:00 2001
> From: Hendrik Leppkes <h.leppkes at gmail.com>
> Date: Fri, 23 Dec 2011 00:14:32 +0100
> Subject: [PATCH] latm: fix initialization on some streams when no extradata is available

applied

thanks

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Why not whip the teacher when the pupil misbehaves? -- Diogenes of Sinope
-------------- 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/20120708/376fee73/attachment.asc>


More information about the ffmpeg-devel mailing list