vc1: mquant is not allowed to be 0
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 2 Mar 2012 17:24:21 +0000 (18:24 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 2 Mar 2012 17:40:42 +0000 (18:40 +0100)
commit64c58f143604223fa02ad4f11b40fb128f72aae5
tree25bff35baae580baaa8807347a7f686cf3ada35a
parente93d911e483ffcf3da3dd2cbac2895fa061d2f58
vc1: mquant is not allowed to be 0

Fixes out of bounds read.
Checked against SMPTE 421M-2006

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/vc1dec.c