> Lifted from the PNG spec (RFC 2083):
Drat, I dropped the table declarations:
/* Table of CRCs of all 8-bit messages. */
unsigned long crc_table[256];
/* Flag: has the table been computed? Initially false. */
int crc_table_computed = 0;
regards, tom lane