diff --git a/libavcodec/codec_desc.c b/libavcodec/codec_desc.c
index 75a69c501fcaf467fc9877b63d4b36d0da1333f6..c0418e4880f573ed65e2949c4336a665649c1932 100644
--- a/libavcodec/codec_desc.c
+++ b/libavcodec/codec_desc.c
@@ -1589,6 +1589,7 @@ static const AVCodecDescriptor codec_descriptors[] = {
         .name      = "xbm",
         .long_name = NULL_IF_CONFIG_SMALL("XBM (X BitMap) image"),
         .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
+        .mime_types= MT("image/x-xbitmap"),
     },
     {
         .id        = AV_CODEC_ID_XPM,