avcodec/alsdec: Fix reading 0 mantisse bits
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 8 Sep 2016 20:02:44 +0000 (22:02 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 8 Sep 2016 20:16:48 +0000 (22:16 +0200)
commit037422178d7f1d0dd09e1ce424dd61a69e77668b
tree6e768b57fc92f0dc40b302430059faf9afaa6efc
parent2d3099ad8ee67a4612633ea02c7fce10e5537579
avcodec/alsdec: Fix reading 0 mantisse bits

Fixes assertion failure
Fixes: 848c24abc1721c9e3d1ba7bfee8d9fcc/asan_heap-oob_1d99eca_3709_567bba70d67e7d62714dcf56f26fb1da.mp4

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/alsdec.c