On Tue, Jul 22, 2014 at 06:52:19PM +0200, Carl Eugen Hoyos wrote: > ffmpeg | branch: master | Carl Eugen Hoyos <ceho...@ag.or.at> | Tue Jul 22 > 17:15:20 2014 +0200| [050d79b6ddaf2c675ae89b77e5f9e82dcb3fba58] | committer: > Carl Eugen Hoyos > > Autodetect big-endian tiff files. > > > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=050d79b6ddaf2c675ae89b77e5f9e82dcb3fba58 > --- > > libavformat/img2dec.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/libavformat/img2dec.c b/libavformat/img2dec.c > index f978007..cf51c0b 100644 > --- a/libavformat/img2dec.c > +++ b/libavformat/img2dec.c > @@ -652,7 +652,8 @@ static int tiff_probe(AVProbeData *p) > { > const uint8_t *b = p->buf; > > - if (AV_RB32(b) == 0x49492a00) > + if (AV_RB32(b) == 0x49492a00 || > + AV_RB32(b) == 0x4D4D002a)
does this weird case mix have a particular signification? > return AVPROBE_SCORE_EXTENSION + 1; > return 0; -- Clément B.
pgpi1OBiUYNN8.pgp
Description: PGP signature
_______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog