avcodec/sgidec: fix linesize for 16bit
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:54 +0000 (21:16 +0100)
commit4a03c31728c833f8d4a959f6de4837234560ca3d
tree33f73745f4d4e8818aed62542afc182e47719346
parentc3c8857263d4e607b3ae6323f87f484c76b5e53f
avcodec/sgidec: fix linesize for 16bit

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 3b20ed85489a14cb5028c873d06960dbc5eef88a)

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