diff options
author | Mashiat Sarker Shakkhar <shahriman_ams@yahoo.com> | 2012-03-24 15:49:34 -0700 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2012-03-26 17:48:13 -0700 |
commit | 95b192de5d05f3e1542e7b2378cdefbc195f5185 (patch) | |
tree | 92c0653d19740b9374783bc757834d912bc916dc /libavcodec/vc1data.c | |
parent | 2ad405548b754751a33f7d8532604eae7fe4ce54 (diff) | |
download | ffmpeg-95b192de5d05f3e1542e7b2378cdefbc195f5185.tar.gz |
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>
Diffstat (limited to 'libavcodec/vc1data.c')
-rw-r--r-- | libavcodec/vc1data.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vc1data.c b/libavcodec/vc1data.c index 41d8ab9fd1..70cead8b2c 100644 --- a/libavcodec/vc1data.c +++ b/libavcodec/vc1data.c @@ -84,7 +84,7 @@ const uint8_t ff_vc1_mbmode_intfrp[2][15][4] = { } }; -const int ff_vc1_fps_nr[5] = { 24, 25, 30, 50, 60 }, +const int ff_vc1_fps_nr[7] = { 24, 25, 30, 50, 60, 48, 72 }, ff_vc1_fps_dr[2] = { 1000, 1001 }; const uint8_t ff_vc1_pquant_table[3][32] = { /* Implicit quantizer */ |