vc1: Do not read from array if index is invalid.
authorMashiat Sarker Shakkhar <shahriman_ams@yahoo.com>
Sat, 24 Mar 2012 22:49:34 +0000 (15:49 -0700)
committerRonald S. Bultje <rsbultje@gmail.com>
Tue, 27 Mar 2012 00:48:13 +0000 (17:48 -0700)
commit95b192de5d05f3e1542e7b2378cdefbc195f5185
tree92c0653d19740b9374783bc757834d912bc916dc
parent2ad405548b754751a33f7d8532604eae7fe4ce54
vc1: Do not read from array if index is invalid.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
libavcodec/vc1.c
libavcodec/vc1data.c
libavcodec/vc1data.h
libavcodec/vc1dec.c