avcodec/rawdec: Fix bits_per_coded_sample checks
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 19 Aug 2016 00:07:22 +0000 (02:07 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 25 Aug 2016 01:29:35 +0000 (03:29 +0200)
commitafd57722e1a8b749fc3c753824d26c2d7c0f9106
tree07df0597f98946c07b43b4304fb451c9fb1bfa22
parent7d42daeea2df35e26dd4d45c3cce693a4d7a788c
avcodec/rawdec: Fix bits_per_coded_sample checks

Fixes assertion failure
Fixes: 9eb9cf5b8c26dd0fa7107ed0348dcc1f/signal_sigabrt_7ffff6ae7c37_8926_4609a5c3f071d555d2d557625f9687b1.swf

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 237207645b36fb79759d313c0399ee93ba467b9d)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/rawdec.c