indeo3: switch parsing the header to bytestream2
authorAnton Khirnov <anton@khirnov.net>
Wed, 10 Apr 2013 07:40:20 +0000 (09:40 +0200)
committerReinhard Tartler <siretart@tauware.de>
Thu, 18 Apr 2013 20:05:09 +0000 (22:05 +0200)
commit95db1624ef98ccc4ba7ff70d50c4b4d0f8ffed54
tree2da8e63177eaa1355d544cb534d12468ec70d4a8
parentb0b33ce14806ac11860c982d701505538430437b
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
(cherry picked from commit 66531d634e75b834e89e4a6a0f7470ca018712a1)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
libavcodec/indeo3.c