[FFmpeg-devel] [libav-devel] [PATCH] aacpsy: avoid norm_fac becoming NaN

Andreas Cadhalpun andreas.cadhalpun at googlemail.com
Mon Apr 20 23:24:02 CEST 2015


On 20.04.2015 12:53, Luca Barbato wrote:
> On 18/04/15 22:37, Andreas Cadhalpun wrote:
>> I think the crash should be fixed before a larger reshaping.
>>
> 
> I do not see how you can fix it w/out having a separate code path for
> 0-energy/0-threshold band. And getting that would require that kind of
> work. =\

I'm sorry I don't understand. The patch I sent avoids the problem.

Alternatively coeffs[g].ath could be forced to always be positive,
which would avoid the problem as well.

Best regards,
Andreas


More information about the ffmpeg-devel mailing list