cook: expand dither_tab[], and make sure indexes into it don't overflow.
authorRonald S. Bultje <rsbultje@gmail.com>
Fri, 9 Mar 2012 01:09:27 +0000 (17:09 -0800)
committerRonald S. Bultje <rsbultje@gmail.com>
Sat, 10 Mar 2012 20:03:53 +0000 (12:03 -0800)
commit442c3a8cb1785d74f8e2d7ab35b1862b7088436b
tree831579a42b9c2712a5903f1153281ea0800b00cc
parent71af42bd964313b3869cdd8a8c0fb97a9ee90d49
cook: expand dither_tab[], and make sure indexes into it don't overflow.

Fixes overflows in accessing dither_tab[].

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
libavcodec/cook.c
libavcodec/cookdata.h