iff: fix integer overflow
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 5 Mar 2013 00:35:28 +0000 (01:35 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 20 Mar 2013 18:59:47 +0000 (19:59 +0100)
commit31f337c1e44ebe53e4e23b24aa6c2a62f6862236
tree9d4420ae4d3f98ae47f85945d96da99ab420307e
parentf84ddb0c0fbb7f1c0ff34418426840f6ea79448e
iff: fix integer overflow

Fixes out of array accesses

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 3dbc0ff9c3e6f6e0d08ea3d42cb33761bae084ba)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/iff.c