[FFmpeg-devel] [PATCH 03/15] lavc/codec_desc: add new TTF and OTF MIME types
rcombs
rcombs at rcombs.me
Wed Sep 9 09:02:05 EEST 2020
---
libavcodec/codec_desc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavcodec/codec_desc.c b/libavcodec/codec_desc.c
index 49a00ad264..72ecc1012b 100644
--- a/libavcodec/codec_desc.c
+++ b/libavcodec/codec_desc.c
@@ -3343,7 +3343,7 @@ static const AVCodecDescriptor codec_descriptors[] = {
.type = AVMEDIA_TYPE_DATA,
.name = "ttf",
.long_name = NULL_IF_CONFIG_SMALL("TrueType font"),
- .mime_types= MT("application/x-truetype-font", "application/x-font"),
+ .mime_types= MT("application/x-truetype-font", "application/x-font", "font/ttf"),
},
{
.id = AV_CODEC_ID_SCTE_35,
@@ -3383,7 +3383,7 @@ static const AVCodecDescriptor codec_descriptors[] = {
.type = AVMEDIA_TYPE_DATA,
.name = "otf",
.long_name = NULL_IF_CONFIG_SMALL("OpenType font"),
- .mime_types= MT("application/vnd.ms-opentype"),
+ .mime_types= MT("application/vnd.ms-opentype", "font/otf"),
},
{
.id = AV_CODEC_ID_SMPTE_KLV,
--
2.27.0
More information about the ffmpeg-devel
mailing list