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-01-09 19:33:07 +01:00
2013-12-15 16:53:32 +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-01-01 02:57:56 +01:00
2013-12-22 22:03:47 +01:00
2014-02-07 19:32:16 +00:00
2014-02-18 18:11:23 +01:00
2014-05-05 00:09:17 +02:00
2014-02-06 02:51:19 +01:00
2015-04-07 12:43:05 +02:00
2013-11-21 20:53:06 +01:00
2014-01-02 22:07:09 +01:00
2014-03-23 20:31:05 +01:00
2013-11-21 20:57:20 +01:00
2013-12-22 22:03:47 +01:00
2013-12-31 12:19:59 +01:00
2014-01-10 17:08:04 +01:00
2014-06-02 22:59:50 +02:00
2013-12-31 12:19:59 +01:00
2014-01-31 18:34:14 +01:00
2013-12-18 18:15:15 +01:00
2014-05-10 12:03:46 -04:00
2014-12-08 19:08:30 +01:00
2013-12-09 08:41:20 +01:00
2013-12-09 08:41:20 +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-10 21:45:55 +01:00
2014-02-10 21:45:55 +01:00
2014-02-22 18:29:17 +01:00
2014-01-04 04:16:46 +01:00
2014-09-20 18:40:32 +02:00
2015-03-14 14:27:23 +01:00
2013-12-10 16:18:51 +01:00
2014-11-01 15:51:16 +01:00
2014-03-02 11:42:37 -05:00
2013-10-22 19:55:47 +02:00
2013-12-22 14:59:31 +01:00
2014-01-27 20:36:42 +01:00
2013-12-22 22:03:47 +01:00
2013-12-22 22:03:47 +01:00