From 38df63f967870cad9d39a02754360db0066e7f80 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Tue, 7 Jun 2022 13:49:43 +0200 Subject: lavf/matroskadec: stop mapping text/plain attachments to AV_CODEC_ID_TEXT There is no reason to think that an attachment will contain text subtitles. Furthermore, attachments are exported in extradata, so the AV_CODEC_ID_TEXT decoder would not do anything useful with them anyway. --- libavformat/matroskadec.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c index de73f97aca..cd30b5f7a4 100644 --- a/libavformat/matroskadec.c +++ b/libavformat/matroskadec.c @@ -806,7 +806,6 @@ static const CodecMime mkv_image_mime_tags[] = { }; static const CodecMime mkv_mime_tags[] = { - {"text/plain" , AV_CODEC_ID_TEXT}, {"application/x-truetype-font", AV_CODEC_ID_TTF}, {"application/x-font" , AV_CODEC_ID_TTF}, {"application/vnd.ms-opentype", AV_CODEC_ID_OTF}, -- cgit v1.2.3