avcodec/sgidec: fix count check
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 27 Oct 2014 19:48:58 +0000 (20:48 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 27 Oct 2014 19:55:57 +0000 (20:55 +0100)
commita050cf0c451bdf1c1bd512c4fce6b6f8a5e85102
treee652e292ea2aa475bf6bd05a558daf4471c1eb9b
parent3b20ed85489a14cb5028c873d06960dbc5eef88a
avcodec/sgidec: fix count check

Fixes: asan_heap-oob_22b30d4_39_038.sgi
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/sgidec.c