There hopefully is some simple test case which would indicate a
problem with this.  Do you have one?

Brian

Steven Hugg <[EMAIL PROTECTED]> writes:

> 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);
>   }
> 
> 

-- 
Brian Jones <[EMAIL PROTECTED]>

Reply via email to