You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
Autodetect big-endian tiff files.
This commit is contained in:
@@ -652,7 +652,8 @@ static int tiff_probe(AVProbeData *p)
|
|||||||
{
|
{
|
||||||
const uint8_t *b = p->buf;
|
const uint8_t *b = p->buf;
|
||||||
|
|
||||||
if (AV_RB32(b) == 0x49492a00)
|
if (AV_RB32(b) == 0x49492a00 ||
|
||||||
|
AV_RB32(b) == 0x4D4D002a)
|
||||||
return AVPROBE_SCORE_EXTENSION + 1;
|
return AVPROBE_SCORE_EXTENSION + 1;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user