indeo3: switch parsing the header to bytestream2
authorAnton Khirnov <anton@khirnov.net>
Wed, 10 Apr 2013 07:40:20 +0000 (09:40 +0200)
committerAnton Khirnov <anton@khirnov.net>
Wed, 17 Apr 2013 10:08:49 +0000 (12:08 +0200)
commit66531d634e75b834e89e4a6a0f7470ca018712a1
treeac15120577d37da9f977af7850bf8c7a2bde1d92
parent01d376f598fe95478036f5d1e3e5e14ffe32d4bf
indeo3: switch parsing the header to bytestream2

Also add an additional sanity check to the alt_quant table.
Fixes invalid reads with corrupted files.

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