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:07:12 +0000 (21:07 +0200)
commit688da036b15881e5e3cce54147b3d6862452a6c3
tree1f94bef317330f62d64b0b4a0fac72890a6702c4
parentc761e144f63735d9ad31dcd8971139837523acc3
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