lavf/img2dec: Autodetect pfm images.

This commit is contained in:
Carl Eugen Hoyos 2021-02-15 00:34:01 +01:00
parent 3490108f95
commit c0d0b1c4f6

View File

@ -993,7 +993,7 @@ static inline int pnm_probe(const AVProbeData *p)
static int pbm_probe(const AVProbeData *p)
{
return pnm_magic_check(p, 1) || pnm_magic_check(p, 4) ? pnm_probe(p) : 0;
return pnm_magic_check(p, 1) || pnm_magic_check(p, 4) || pnm_magic_check(p, 22) || pnm_magic_check(p, 54) ? pnm_probe(p) : 0;
}
static inline int pgmx_probe(const AVProbeData *p)