Reimar Döffinger <Reimar.Doeffinger <at> gmx.de> writes: > > + if (AV_RB16(b) == 0xFFE1 && AV_RB32(b + 4) == AV_RB32("Exif")) { > > Are we allowed to just assume that buf_size is >= 8 > (or that there is at least 8 bytes 0 padding)?
32 zeros are required by our API afaict. I cannot comment on the undefined behaviour. Carl Eugen _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog