indeo4: check quant_mat more fully.
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 23 Apr 2012 19:40:02 +0000 (21:40 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 23 Apr 2012 19:59:34 +0000 (21:59 +0200)
commit29545741266a03332f2758c7ba4f77f362c3668d
treef33aa00e1d13da6aa769c8a9e14407c07bb8d678
parent53253a0b83f1e9cfb6cc08a62364051ff5d69c09
indeo4: check quant_mat more fully.

quant_mats valid range depends on the block size.
This fixes a global array overread.

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