[FFmpeg-devel] [PATCH] avformat: Add image3 demuxers with format autodetection

Michael Niedermayer michaelni at gmx.at
Thu Jul 3 17:38:19 CEST 2014


On Mon, Jun 30, 2014 at 08:13:46AM +0000, Carl Eugen Hoyos wrote:
> 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).

fixed

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Freedom in capitalist society always remains about the same as it was in
ancient Greek republics: Freedom for slave owners. -- Vladimir Lenin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140703/d7f87d56/attachment.asc>


More information about the ffmpeg-devel mailing list