truemotion1: make sure index does not go out of bounds
authorAnton Khirnov <anton@khirnov.net>
Fri, 15 Nov 2013 18:06:23 +0000 (19:06 +0100)
committerAnton Khirnov <anton@khirnov.net>
Thu, 21 Nov 2013 19:58:08 +0000 (20:58 +0100)
commitc918e08b9cc9ce8d06159c51da55ec5ab018039a
tree46d6b1a2fd61403e3aa743428143afbb3f1963c5
parentce9bba5340a5fb6f38974a19af019dd6aa2da035
truemotion1: make sure index does not go out of bounds

Fixes invalid reads.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC:libav-stable@libav.org
libavcodec/truemotion1.c