[FFmpeg-cvslog] lavf/matroskadec: stop mapping text/plain attachments to AV_CODEC_ID_TEXT

Anton Khirnov git at videolan.org
Wed Jun 8 10:28:37 EEST 2022


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Tue Jun  7 13:49:43 2022 +0200| [38df63f967870cad9d39a02754360db0066e7f80] | committer: Anton Khirnov

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.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=38df63f967870cad9d39a02754360db0066e7f80
---

 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},



More information about the ffmpeg-cvslog mailing list