Commit 944aa8e3c4ea827c57d7bb9125f39611eb67ede1

DRC 2015-07-21T16:43:39

Fix rare bug: right shift by a negative # of bits Under very rare circumstances, decompressing specific corrupt JPEG images would create a situation whereby GET_BITS(1) was invoked from within HUFF_DECODE_FAST() when bits_left=0. This produced a right shift by a negative number of bits, which is undefined in C.