.println("Corrupt or missing data in bitstream; continuing...");
} else {
os.pagein(og); // can safely ignore errors at
// this point
while (true) {
result = os.packetout(op);
if (result == 0)
break; // need more data
if (result == -1) { // missing or corrupt data at this page position
// no reason to complain; already complained above