indeo: Check allocated tile size in ff_ivi_process_empty_tile()
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 15 Apr 2012 12:16:55 +0000 (14:16 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 15 Apr 2012 12:59:20 +0000 (14:59 +0200)
commitf0bf9e9c2a65e9a2b9d9e4e94f99acb191dc7ae7
tree787eb576299565bc90d30fd43588862cfaf26fae
parent5ad7335ebac2b38bb2a1c8df51a500b78461c05a
indeo: Check allocated tile size in ff_ivi_process_empty_tile()

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/ivi_common.c