truemotion1: Check index, fix out of array read
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 30 May 2012 14:19:36 +0000 (16:19 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 9 Jun 2012 19:40:13 +0000 (21:40 +0200)
commitcc511b36f35400bc13f3987da374462f7c20c6c5
tree47c6a4e71f536582392151eccff38038c81d6d00
parent85b22a8924052169f66f96464531de4d501cdc58
truemotion1: Check index, fix out of array read

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit fd4c1c0b70b5a06dd572d7e27799a2f4c3d9b984)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/truemotion1.c