Comment 6 for bug 406594

Revision history for this message
In , David Benjamin (davidben) wrote :

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...