Files
ffmpeg/libavcodec
Andreas Cadhalpun fc9514bf4d aacpsy: avoid psy_band->threshold becoming NaN
If band->thr is 0.0f, the division is undefined, making norm_fac not a
number or infinity, which causes psy_band->threshold to become NaN.

This is passed on to other variables until it finally reaches
sce->sf_idx and is converted to an integer (-2147483648).

This causes a segmentation fault when it is used as array index.

Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Reviewed-by: Claudio Freire <klaussfreire@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit e224aa4191)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-04-16 20:36:36 +02:00
..
2015-03-11 00:18:22 +01:00
2014-03-07 08:32:55 -05:00
2014-02-17 20:50:33 +01:00
2014-06-23 15:56:15 +02:00
2014-06-23 15:56:15 +02:00
2014-11-01 15:40:38 +01:00
2014-02-18 18:11:23 +01:00
2014-05-05 00:09:17 +02:00
2015-04-07 12:43:05 +02:00
2014-03-23 20:31:05 +01:00
2014-06-02 22:59:50 +02:00
2014-05-10 12:03:46 -04:00
2014-12-08 19:08:30 +01:00
2014-02-21 16:57:26 -03:00
2014-02-21 16:57:26 -03:00
2015-01-13 23:42:16 +01:00
2014-02-22 18:29:17 +01:00
2014-09-20 18:40:32 +02:00
2015-03-14 14:27:23 +01:00
2014-11-01 15:51:16 +01:00
2014-03-02 11:42:37 -05:00