Indeo3: fix crashes on corrupt bitstreams.
authorRonald S. Bultje <rsbultje@gmail.com>
Tue, 28 Feb 2012 18:22:28 +0000 (10:22 -0800)
committerRonald S. Bultje <rsbultje@gmail.com>
Tue, 28 Feb 2012 18:34:35 +0000 (10:34 -0800)
commitfc9bc08dca9ac32526251e19fcf738d23b8c68d1
tree74bef8223db1f77784ae3bce1a832b48ed36d78b
parentbd7a647c0d3071456e066a2d2b6dc4ea807c6ffc
Indeo3: fix crashes on corrupt bitstreams.

Splits at borders of cells are invalid, since it leaves one of the
cells with a width/height of zero. Also, propagate errors on buffer
allocation failures, so we don't continue decoding (which crashes).

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