diff options
author | Carl Eugen Hoyos <ceffmpeg@gmail.com> | 2021-02-15 00:34:01 +0100 |
---|---|---|
committer | Carl Eugen Hoyos <ceffmpeg@gmail.com> | 2021-02-15 00:34:01 +0100 |
commit | c0d0b1c4f6f804796488adf3e552be88c0cee1a4 (patch) | |
tree | 8028f24bef1f2682ac03da683d6dd24f7efd4b87 /libavformat | |
parent | 3490108f95b5a350f75df8443b00fbeebcdf068d (diff) | |
download | ffmpeg-c0d0b1c4f6f804796488adf3e552be88c0cee1a4.tar.gz |
lavf/img2dec: Autodetect pfm images.
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/img2dec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/img2dec.c b/libavformat/img2dec.c index d10ba4ca40..6c78dada8c 100644 --- a/libavformat/img2dec.c +++ b/libavformat/img2dec.c @@ -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) |