ffv1: fix undefined behavior with insane widths.
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 1 Apr 2011 10:46:36 +0000 (12:46 +0200)
committerAnton Khirnov <anton@khirnov.net>
Mon, 13 Jun 2011 18:42:14 +0000 (20:42 +0200)
commit294e5475c2cf4bb7a0db34931515fddc5732c266
tree5ca061cf211b3d2a4ff3f90379237f5bbd5d712f
parent9776e25db9a43e77e9b091c012bf16267d9559d7
ffv1: fix undefined behavior with insane widths.

The new tables is large enough to prevent this together with our image size checks.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavcodec/bitstream.c
libavcodec/ffv1.c