Created an attachment (id=29194) Correctly set the value of symCodeLen
JBIG2Stream had an off-by-one error. It was computing symCodeLen incorrectly. (1+floor vs ceil). This patch should fix it.
Did I mention this mistake was hard to find? I had the spec in one hand, JBIG2Stream.cc in the other...
Created an attachment (id=29194)
Correctly set the value of symCodeLen
JBIG2Stream had an off-by-one error. It was computing symCodeLen incorrectly. (1+floor vs ceil). This patch should fix it.
Did I mention this mistake was hard to find? I had the spec in one hand, JBIG2Stream.cc in the other...