Don't use ff_cropTbl[] for IDCT.
authorRonald S. Bultje <rsbultje@gmail.com>
Tue, 6 Mar 2012 00:01:19 +0000 (16:01 -0800)
committerRonald S. Bultje <rsbultje@gmail.com>
Tue, 6 Mar 2012 18:47:42 +0000 (10:47 -0800)
commitc23acbaed40101c677dfcfbbfe0d2c230a8e8f44
tree3fd50a826bbd6fb032f374c1eafd811ca3d8a642
parent2254b559cbcfc0418135f09add37c0a5866b1981
Don't use ff_cropTbl[] for IDCT.

Results of IDCT can by far outreach the range of ff_cropTbl[], leading
to overreads and potentially crashes.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
libavcodec/dsputil.c
libavcodec/h264idct_template.c
libavcodec/rv34dsp.c
libavcodec/simple_idct.c
libavcodec/simple_idct_template.c
libavcodec/svq3.c
libavcodec/vc1dsp.c
libavcodec/vp3dsp.c
libavcodec/vp8dsp.c