diff mbox series

[FFmpeg-devel,03/15] lavc/codec_desc: add new TTF and OTF MIME types

Message ID 20200909060217.25794-3-rcombs@rcombs.me
State New
Headers show
Series [FFmpeg-devel,01/15] lavc/codec_desc: add MIME type to AV_CODEC_ID_TEXT
Related show

Checks

Context Check Description
andriy/default pending
andriy/make success Make finished
andriy/make_fate success Make fate finished

Commit Message

Ridley Combs Sept. 9, 2020, 6:02 a.m. UTC
---
 libavcodec/codec_desc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

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,