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)
committerReinhard Tartler <siretart@tauware.de>
Sun, 29 Apr 2012 20:07:02 +0000 (22:07 +0200)
commit583f57f04a6cc6484466dc4403953af95192f5f4
tree1fbe8276d57e8852927fe4d71915aa8957bb59bf
parentf8f6c14f540112be012b15261e84577fc9a4644f
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>
(cherry picked from commit 95b192de5d05f3e1542e7b2378cdefbc195f5185)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
libavcodec/vc1.c
libavcodec/vc1data.c
libavcodec/vc1data.h
libavcodec/vc1dec.c