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>
Mon, 14 Dec 2015 15:51:00 +0000 (16:51 +0100)
commit1601420be4b505d4b9f8f2d92d37e19a44cc42bd
treecff4a5e8e8e4fcbbc9e363b74c490240d2659cc5
parentbdf79f29db6ff5ebd7d09082734c6e39f5afc39f
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