aacsbr: Check for envelope scalefactors overflowing
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 8 Mar 2013 13:00:22 +0000 (14:00 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 8 Mar 2013 13:21:40 +0000 (14:21 +0100)
commit8978c743fb1d1f5a0d6dbdd83ff05817f8a41230
treef651f952d834fb564ca8e01ba85f77047b45254d
parent199db97fbdd92c58b8f0e50eac60fead35e4dc57
aacsbr: Check for envelope scalefactors overflowing

This prevents various values from becoming stuck at NAN and
output to become silent
If someone knows a cleaner solution, thats welcome!

Fixes Ticket2335

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/aacsbr.c