indeo5: check tile size in decode_mb_info().
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 15 Apr 2012 12:11:50 +0000 (14:11 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 15 Apr 2012 12:59:20 +0000 (14:59 +0200)
commit5ad7335ebac2b38bb2a1c8df51a500b78461c05a
treef66d4f64a570f0615793cf6fb9a6cd54b3e780ea
parentb7027685b89a033e8cca6ca71733da074c3b5f1e
indeo5: check tile size in decode_mb_info().

This prevents writing into a too small array if some parameters changed
without the tile being reallocated.

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