sgidec: fix off by 1 error that tested a sample too far for oob.
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 8 Jul 2012 23:31:41 +0000 (01:31 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 8 Jul 2012 23:33:44 +0000 (01:33 +0200)
commit7bc155163ec08a0302526d7e19d08c8053f932f0
tree2c87d925d80d98228abb91ffce2d8221e48d564c
parent30659a2233772f9dfcda3a9928b93bba00308687
sgidec: fix off by 1 error that tested a sample too far for oob.

This led to decoding failure when linesize was too small.

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