Michael Niedermayer <michaelni <at> gmx.at> writes: > +static int bmp_probe(AVProbeData *p) > +{ > + const uint8_t *b = p->buf; > + > + if (AV_RB16(b) == 0x424d) > + if (!AV_RN32(p + 6)) { This should be AV_RN32(b + 6). Carl Eugen