1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-02-09 14:14:39 +02:00
FFmpeg/libavcodec
Andreas Cadhalpun fdc94db37e sbr_qmf_analysis: sanitize input for 32-bit imdct
If the input contains too many too large values, the imdct can overflow.
Even if it didn't, the output would be larger than the valid range of 29
bits.

Note that this is a very delicate limit: Allowing values up to 1<<25
does not prevent input larger than 1<<29 from arriving at
sbr_sum_square, while limiting values to 1<<23 breaks the
fate-aac-fixed-al_sbr_hq_cm_48_5.1 test.

Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2015-12-11 00:04:04 +01:00
..
2015-12-04 02:35:42 +01:00
2015-11-30 18:29:57 -05:00
2015-11-22 16:16:16 -05:00
2015-11-30 10:58:46 -05:00
2015-12-07 16:10:51 +01:00
2015-11-30 23:31:12 +01:00
2015-11-30 23:31:12 +01:00
2015-12-07 09:38:59 +01:00
2015-12-07 09:38:59 +01:00
2015-12-07 09:25:02 +01:00