From patchwork Wed Sep 9 06:02:05 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: rcombs X-Patchwork-Id: 22225 Return-Path: X-Original-To: patchwork@ffaux-bg.ffmpeg.org Delivered-To: patchwork@ffaux-bg.ffmpeg.org Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by ffaux.localdomain (Postfix) with ESMTP id 3918E44A9B3 for ; Wed, 9 Sep 2020 09:28:43 +0300 (EEST) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 11CED68B783; Wed, 9 Sep 2020 09:28:43 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-il1-f181.google.com (mail-il1-f181.google.com [209.85.166.181]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 55CBC68ABC3 for ; Wed, 9 Sep 2020 09:28:35 +0300 (EEST) Received: by mail-il1-f181.google.com with SMTP id t13so1256743ile.9 for ; Tue, 08 Sep 2020 23:28:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rcombs.me; s=google; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=HN/ACU+/Gfy4tMoenEdIWQVaEI/UPXJy6wM12PV4qdQ=; b=Shr204Yjlp4ywMU2BeSQ3xh8o0Tc0Q1s605FQNX9bL+rtCClLVvBz+LgjPGLDCAHBC 4r6AptzIzN1CIjSt83yvkoGfUGAEV/ovdYG5lh6xRyM3TadUZTThrIR6WD0Mmc/Nj7v5 +38b+IhO+T7vFOQCseFlsNHzQxKr/e1zKXfhlZJdn3L/B8wnt5gca/JhfK2wKZU0oo7a HTq5eN/lThOLifT4VQJdREirQCvujaOpw2uTPl4XYyrvCPOJtLp3lLAmW21fmITo6+6M Nh/ct0zb11O/tUTc3iF94gunibOIY/78vGXpIuSdDHkcxCIr+ALqx5tt4oiKnpT0CzTb P+Ew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=HN/ACU+/Gfy4tMoenEdIWQVaEI/UPXJy6wM12PV4qdQ=; b=JePh5rHLaWtCEJYK+sRV4XN9DLQDlrHHreXYogE46RY42XoSf4V8oDNhZKMSXygzj4 SQyuC284BCFJS3h7QtTYvB14yLWtjHetXJkpYNYujt7jv+RxE9d+pbu0r4Rv+iOwTSP0 z5Ewghrf/O8HaahWcmttG6pzmYnZNhlqDRhCIJ8R8E7KKHPQfq+1xt37jgvFGW3hs19X i+lf7z/JuuDmSzLFnSBOvA0LMLsB8/dbkxCWA1fcw6LuEPH0Ili920u92JiSIvLh/z+Y KDwO9Q4+7PjiDBaK4TrcTFRZd1mBwhtzmvBPeMapJAw9YLXugTGUlcmQCE14T2b4HRyf 9NXg== X-Gm-Message-State: AOAM533eL7ck6s4cfnJAZI1ErPrHRMt/aBzS8AdO67dEtiQDPtxc2fCv FIcmb4gHSyRh40kDsxv8NReO2CJVy0Uc X-Google-Smtp-Source: ABdhPJyf7A7F2TPL1HmQ6FMRtnGXk2Nnvt9YbK4e1d0e/62Ipwhf9yA/ZnE7m6aZqrlxzIFB9dhHYw== X-Received: by 2002:a92:b009:: with SMTP id x9mr2334126ilh.49.1599631343133; Tue, 08 Sep 2020 23:02:23 -0700 (PDT) Received: from rcombs-mbp.localdomain (c-73-50-128-8.hsd1.il.comcast.net. [73.50.128.8]) by smtp.gmail.com with ESMTPSA id j20sm864575ilq.6.2020.09.08.23.02.22 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 08 Sep 2020 23:02:22 -0700 (PDT) From: rcombs To: ffmpeg-devel@ffmpeg.org Date: Wed, 9 Sep 2020 01:02:05 -0500 Message-Id: <20200909060217.25794-3-rcombs@rcombs.me> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200909060217.25794-1-rcombs@rcombs.me> References: <20200909060217.25794-1-rcombs@rcombs.me> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 03/15] lavc/codec_desc: add new TTF and OTF MIME types X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" --- 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,