Skip to content

Instantly share code, notes, and snippets.

@Katzenwerfer
Last active September 24, 2022 02:35
Show Gist options
  • Save Katzenwerfer/8208812e490a4ee1b513781e2f3bd278 to your computer and use it in GitHub Desktop.
Save Katzenwerfer/8208812e490a4ee1b513781e2f3bd278 to your computer and use it in GitHub Desktop.
Enable storing JXL images inside matroska container
diff --git a/libavformat/riff.c b/libavformat/riff.c
index df7e9df31b..16e37fb557 100644
--- a/libavformat/riff.c
+++ b/libavformat/riff.c
@@ -34,6 +34,7 @@
* files use it as well.
*/
const AVCodecTag ff_codec_bmp_tags[] = {
+ { AV_CODEC_ID_JPEGXL, MKTAG('J', 'X', 'L', ' ') },
{ AV_CODEC_ID_H264, MKTAG('H', '2', '6', '4') },
{ AV_CODEC_ID_H264, MKTAG('h', '2', '6', '4') },
{ AV_CODEC_ID_H264, MKTAG('X', '2', '6', '4') },
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment