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 20:16:55 +0000 (21:16 +0100)
commit5c791b1c9ce0edab69d4aa9b17a967a3b3792a07
tree090680c5e58c80f575b0ab0f168de7def3eaa374
parent4a03c31728c833f8d4a959f6de4837234560ca3d
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>
(cherry picked from commit a050cf0c451bdf1c1bd512c4fce6b6f8a5e85102)

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