aacsbr: handle m_max values smaller than 4.
authorRonald S. Bultje <rsbultje@gmail.com>
Thu, 22 Mar 2012 18:50:48 +0000 (11:50 -0700)
committerRonald S. Bultje <rsbultje@gmail.com>
Fri, 23 Mar 2012 19:56:08 +0000 (12:56 -0700)
commit71ea26811cbd8345cb10ab29406594e1fc19204e
tree71c3f835192a1b24921ebb3b1398d01fb899e127
parent73ad4471a48bd02b2c2a55de116161b87e061023
aacsbr: handle m_max values smaller than 4.

Prevents a signflip in the counter, and a subsequent crash because of
overreads/overwrites.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
libavcodec/x86/sbrdsp.asm