From patchwork Tue Jul 27 14:48:07 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas George X-Patchwork-Id: 29072 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a11:4023:0:0:0:0 with SMTP id ky35csp4919886pxb; Tue, 27 Jul 2021 07:49:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz+tQC5Ss/sT72sK3L3VM1pwx2wuTfIgK3iuPjhjcY51M++vygO7LcdUP/8wk5ekA7Psbb8 X-Received: by 2002:aa7:d2ca:: with SMTP id k10mr28837366edr.379.1627397355151; Tue, 27 Jul 2021 07:49:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627397355; cv=none; d=google.com; s=arc-20160816; b=YNrnhgRyf4puUzmL2uzOF9wxEjrF5nznL8KBzv/JAaW/QuQFb44hr0bDu/JPAGovxn Np2f56c9nSETWa7mU3wpEog0uJFgmeuEuzN8EqTJSC57x4J95nByJrsR6RY1hUmXwuUJ E9WUqrAZ4dppdL/+VEugP+250O6xHgTMH/gW1dujMDDeMdFvQ5xKXKaJldZa8wcjI3PI svDuxofYKx88GtDuFlJeByDkK1bD7Z6WdreTmdP5HF2av+JM4bISWzzBGAfl6GGvZNmH IgjpV170o6g2+Yoa06SEdCW855qylR0H4Y9J8h/subUTRCNcvd4RGT3ulQP2Ovt0RhlH bShw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:reply-to:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:subject:mime-version:references:in-reply-to:message-id :date:to:from:delivered-to; bh=6bxdxqV+hQvh3d32VgsLrrFNpVpzAG/sEdvlhT92NPA=; b=TAVMiBWAyyfnD0RnA/siKj6GzAxwtaYtNnxzvbT3JeRu/DvcUzcBhmJw9bhPF3I3S5 CvmNDNfGXek3o02ZCZs3bdpRCj4UI/SuaABue5e0/3cITji1wKyo1SbIloU2B3Ov74Jg Gmq4h7NmV9n0Bgz9hupKUZ+LDq2Y3gUGCkdW/lKawgcmo8SFZB13OUMVpqUCaR4uuqMU WG3Vv7Lto2R5e5YU8mB+McsmhPFoSeJE3K3Ho4jHePINtFEnOz/FxTGO90QPhi151hxZ BOq82bF2mPPUR3V87XpCw11u+rHxnI9a7vob2vKm22Y9FTRdQpQX6pk9kL+E7kzcWxbd 6ZeA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id y15si3345743edc.243.2021.07.27.07.49.14; Tue, 27 Jul 2021 07:49:15 -0700 (PDT) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id BEAE068A0BB; Tue, 27 Jul 2021 17:48:28 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from nef.ens.fr (nef2.ens.fr [129.199.96.40]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 27BC668818E for ; Tue, 27 Jul 2021 17:48:19 +0300 (EEST) X-ENS-nef-client: 129.199.129.80 ( name = phare.normalesup.org ) Received: from phare.normalesup.org (phare.normalesup.org [129.199.129.80]) by nef.ens.fr (8.14.4/1.01.28121999) with ESMTP id 16REmIvt026205 for ; Tue, 27 Jul 2021 16:48:18 +0200 Received: by phare.normalesup.org (Postfix, from userid 1001) id 5EA54E0027; Tue, 27 Jul 2021 16:48:18 +0200 (CEST) From: Nicolas George To: ffmpeg-devel@ffmpeg.org Date: Tue, 27 Jul 2021 16:48:07 +0200 Message-Id: <20210727144813.452917-5-george@nsup.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210727144813.452917-1-george@nsup.org> References: <20210727144813.452917-1-george@nsup.org> MIME-Version: 1.0 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (nef.ens.fr [129.199.96.32]); Tue, 27 Jul 2021 16:48:18 +0200 (CEST) Subject: [FFmpeg-devel] [PATCH 04/10] lavf: add fs to default_whitelist when file present. X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 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" X-TUID: b62mtFw/6hSH Signed-off-by: Nicolas George --- libavformat/concat.c | 2 +- libavformat/subfile.c | 2 +- libavformat/teeproto.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libavformat/concat.c b/libavformat/concat.c index aec1f52d8e..66ee792b20 100644 --- a/libavformat/concat.c +++ b/libavformat/concat.c @@ -200,7 +200,7 @@ const URLProtocol ff_concat_protocol = { .url_seek = concat_seek, .url_close = concat_close, .priv_data_size = sizeof(struct concat_data), - .default_whitelist = "concat,file,subfile", + .default_whitelist = "concat,file,fs,subfile", }; #endif diff --git a/libavformat/subfile.c b/libavformat/subfile.c index 2936c79e06..7edd5b14f8 100644 --- a/libavformat/subfile.c +++ b/libavformat/subfile.c @@ -153,5 +153,5 @@ const URLProtocol ff_subfile_protocol = { .url_close = subfile_close, .priv_data_size = sizeof(SubfileContext), .priv_data_class = &subfile_class, - .default_whitelist = "file", + .default_whitelist = "file,fs", }; diff --git a/libavformat/teeproto.c b/libavformat/teeproto.c index e532bc7750..61981b8327 100644 --- a/libavformat/teeproto.c +++ b/libavformat/teeproto.c @@ -143,5 +143,5 @@ const URLProtocol ff_tee_protocol = { .url_close = tee_close, .priv_data_size = sizeof(TeeContext), .priv_data_class = &tee_class, - .default_whitelist = "crypto,file,http,https,httpproxy,rtmp,tcp,tls" + .default_whitelist = "crypto,file,fs,http,https,httpproxy,rtmp,tcp,tls" };