While we're on the subject, there is a pretty nasty bug in
DecoderEightBitLookup.
Here's the fix:


*** DecoderEightBitLookup.java  2000/02/17 08:15:07     1.1
--- DecoderEightBitLookup.java  2000/03/01 18:45:31
***************
*** 92,98 ****
                 int cbuf_offset)
  {
    for (int i = 0; i < len; i++)
!     cbuf[cbuf_offset + i] = lookup_table[buf[buf_offset + i]];

    return(cbuf);
  }
--- 92,98 ----
                 int cbuf_offset)
  {
    for (int i = 0; i < len; i++)
!     cbuf[cbuf_offset + i] = lookup_table[buf[buf_offset + i] & 0xff];

    return(cbuf);
  }

Reply via email to