} catch (ArrayIndexOutOfBoundsException ex) {
warnings++;
}
// decode even lines
try {
BitStream even = new BitStream(evenBuf);
decodeLine(bm.getInternalBuffer(), 0, w, w*(h/2+(h&1)), even);
} catch (ArrayIndexOutOfBoundsException ex) {
warnings++;
}
// decode odd lines
try {
BitStream odd = new BitStream(oddBuf);
decodeLine(bm.getInternalBuffer(), w, w, (h/2)*w, odd);
} catch (ArrayIndexOutOfBoundsException ex) {
warnings++;
}