check input validity, this prevents a few variables from reachin odd values which...
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 25 Mar 2007 23:37:38 +0000 (23:37 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 25 Mar 2007 23:37:38 +0000 (23:37 +0000)
commit0cb7f8a26094c533b7dbe25897198953b6660f15
tree65d689e12749734d24622d10715c5704bbddb119
parent34a370cb0cee7cdeef4f56ad2617ab7bf5f708ab
check input validity, this prevents a few variables from reachin odd values which might have lead to out of array writes and thus might have been exploitable

Originally committed as revision 8522 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/lzw.c