avcodec/wmaprodec: Check bits per sample to be within the range not causing integer...
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 5 Dec 2015 12:48:06 +0000 (13:48 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 6 Dec 2015 11:40:51 +0000 (12:40 +0100)
commitae434647409daec6cc7ec27b385b0592640690f5
tree2817270f19798719935c2e8340a6cc9b3c7db0dd
parentf19d3fe8e95101f3e06a790d9a274b3e4f73f5b2
avcodec/wmaprodec: Check bits per sample to be within the range not causing integer overflows

Fixes: 549d5aab1480d10f2a775ed90b0342f1/signal_sigabrt_7ffff6ae7cc9_5643_96bbb0cfe3e28be1dadfce1075016345.wma

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 66e05f6ff5e5c105bdd7bf3a49234ddac1b592c5)

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/wmaprodec.c