aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/mov.c
diff options
context:
space:
mode:
authorLeo Izen <leo.izen@gmail.com>2022-04-17 09:22:36 -0400
committerLynne <dev@lynne.ee>2022-04-23 19:51:46 +0200
commit3ac23440ef4a5a203f53b33325fa38b2e8afa219 (patch)
tree0b02a0d6b1f5126d05391a7336163b515b25c21f /libavformat/mov.c
parent5f0b4e9c709761eafe0775c1c1791b09462a91e0 (diff)
downloadffmpeg-3ac23440ef4a5a203f53b33325fa38b2e8afa219.tar.gz
avformat/image2: add Jpeg XL as image2 format
This commit adds support to libavformat for muxing and demuxing Jpeg XL images as image2 streams.
Diffstat (limited to 'libavformat/mov.c')
-rw-r--r--libavformat/mov.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c
index af8b46839d..3e83e54a77 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -7839,6 +7839,7 @@ static int mov_probe(const AVProbeData *p)
if (tag == MKTAG('f','t','y','p') &&
( AV_RL32(p->buf + offset + 8) == MKTAG('j','p','2',' ')
|| AV_RL32(p->buf + offset + 8) == MKTAG('j','p','x',' ')
+ || AV_RL32(p->buf + offset + 8) == MKTAG('j','x','l',' ')
)) {
score = FFMAX(score, 5);
} else {