aacsbr_fixed: check for envelope scalefactors overflowing
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Mon, 9 Nov 2015 19:41:16 +0000 (20:41 +0100)
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Wed, 11 Nov 2015 20:49:51 +0000 (21:49 +0100)
commit0e36a14a423b7cb32d54d1b621cc9136cccc3dc5
tree2239f7d96f8393bcab2a7aca34f06858eb271568
parent2ec18db75cff03a5cfa0a0f28f22da6866f720d1
aacsbr_fixed: check for envelope scalefactors overflowing

This prevents various values from getting an insanely huge exponent.
If someone knows a cleaner solution, thats welcome!

This is similar to commit 8978c74 for aacsbr.

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
libavcodec/aacsbr_fixed.c