[FFmpeg-soc] aac decoder crash

Robert Swain robert.swain at gmail.com
Tue Jul 15 12:50:46 CEST 2008


2008/7/14 Robert Swain <robert.swain at gmail.com>:
> 2008/7/14 Pascal Patry <iscy at invalidip.com>:
>> 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.
>
> Noted, I'll deal with this shortly as there may be changes to the
> float_to_int16 code anyway.

Applied.

Rob



More information about the FFmpeg-soc mailing list