[FFmpeg-soc] aac decoder crash

Pascal Patry iscy at invalidip.com
Mon Jul 14 22:40:10 CEST 2008


On July 14, 2008 03:17:19 pm Benjamin Larsson wrote:
> Pascal Patry wrote:
> > I'm getting a segfault while using the latest AAC decoder with the latest
> > FFmpeg revision on multiple files.
> >
> > The problem seems to be coming from this line (aac.c:2239):
> > ac->dsp.float_to_int16(data, ac->interleaved_output, 1024 *
> > avccontext->channels);
> >
> > Here is the complete stack while using ffplay:
> > #0  0x08102535 in float_to_int16_sse2 (dst=0xb71c90c0, src=0x8801f48,
> > len=2048) at libavcodec/i386/dsputil_mmx.c:2141
>
> interleaved_output doesn't seem to have the required alignment.

Thank you for pointing out.

Here is a patch to fix the issue.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: aac_ilo_alignment.patch
Type: text/x-diff
Size: 1277 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-soc/attachments/20080714/551c8769/attachment.patch>


More information about the FFmpeg-soc mailing list