Paul B Mahol <onemda <at> gmail.com> writes: > case ZMBV_FMT_8BPP: > + for (j = 0; j < 256; j++) > + AV_WN32(&c->pic.data[1][j * 4], AV_RB24(&c->pal[j * 3])); Without testing, I would assume that "0xFFU << 24 |" is missing from that line. Avoiding the conversions is certainly a good idea! Thank you, Carl Eugen