summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2022-06-07 13:49:43 +0200
committerAnton Khirnov <anton@khirnov.net>2022-06-08 09:27:54 +0200
commit38df63f967870cad9d39a02754360db0066e7f80 (patch)
treedcdeea02e3017769832e50f55e3e2955e2ddbc3c /libavformat
parent58880a8ea8d1aa0497e88f0da4e88455db9ba723 (diff)
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.
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/matroskadec.c1
1 files changed, 0 insertions, 1 deletions
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},