From patchwork Thu Jul 16 12:51:12 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hongcheng Zhong X-Patchwork-Id: 21112 Delivered-To: andriy.gelman@gmail.com Received: by 2002:a25:80ca:0:0:0:0:0 with SMTP id c10csp1198066ybm; Thu, 16 Jul 2020 05:51:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyC3Y/J5S/GFilY+6CRa9wsBVbYFSIzRIi5WtvVeKzAroiY3qaxCayqntGTcOs6aCLHBxTS X-Received: by 2002:a1c:2e17:: with SMTP id u23mr4168923wmu.142.1594903901765; Thu, 16 Jul 2020 05:51:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594903901; cv=none; d=google.com; s=arc-20160816; b=y629dMSzQlJztRJkhMSg6Tj3DWtrriHlWgFsxiDYbQ/Q+HBFh899vdhbFgUFWsSHjy o5ByJnMdt2ebviswhGOX/lxcE4fRyVwNtnPgiG5pcMC3tvtum1d8dyGhrGCmhDXxhn8i ixi3SrhfeWnyZ/8TnTb7zyy2U62glRh+B/pbQSqX7Mo4vPoj9G/ix9B+1bB4JOGYT2tS WqEL1yAZo0Ab/msY0pgbgtkE5XZWHqwUN8z6E8lh+9q6p9o7GMHnjqAV2SZCQB6Y8oEg QQHbXQ0t5Ogm83FTN1D1nFlWNi3LEgTN1nffIaxkfp2Dh2KWYXUf1+ky6TB5icYwhkmv mQ/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc: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=9+bgPaQhQOEOGzSm1Kbkpc0exJomn4M6BsGzrxPVyHU=; b=q1vJ/lh4HpXAEroo9N8ezp+6ndFwbq9PYoCBTEzFhtoSlpt6E5TOfLCvZo0lNXw3o5 5caXwcj1zIMPVhft+mzef/kIg72nqf44sQJL99JmdY0Phu0wTc7ZgNVIOSE5nx+WhPH4 9QzfaQ/jpqUfPNurAUZm2I+ktSKO7m7T3w9CXVwEp8jr/v9X62SgffO0e48V7oVehZbb SN4A6xnU0XslA+jrlWk+B4IdqwQkeMhVzp3/nbrRHnbEJKPdHSukB2X79Nb80qXUkCle VdBJ47hKmh4flrVbXnB6svAOIEX7RFc61Dz+5CGaNcCf6gwB3YTjvsElxHW+uahy7P+7 pXfA== 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 z14si4239823wml.78.2020.07.16.05.51.41; Thu, 16 Jul 2020 05:51:41 -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 936AF68B5B2; Thu, 16 Jul 2020 15:51:29 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from smtp181.sjtu.edu.cn (smtp181.sjtu.edu.cn [202.120.2.181]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 434DD68B51A for ; Thu, 16 Jul 2020 15:51:22 +0300 (EEST) Received: from proxy02.sjtu.edu.cn (smtp188.sjtu.edu.cn [202.120.2.188]) by smtp181.sjtu.edu.cn (Postfix) with ESMTPS id A039C1008CBD2; Thu, 16 Jul 2020 20:51:19 +0800 (CST) Received: from localhost (localhost.localdomain [127.0.0.1]) by proxy02.sjtu.edu.cn (Postfix) with ESMTP id EC022200B448D; Thu, 16 Jul 2020 20:51:18 +0800 (CST) X-Virus-Scanned: amavisd-new at Received: from proxy02.sjtu.edu.cn ([127.0.0.1]) by localhost (proxy02.sjtu.edu.cn [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id LkTK1QBA-83F; Thu, 16 Jul 2020 20:51:18 +0800 (CST) Received: from localhost.localdomain (unknown [10.162.157.92]) (Authenticated sender: sj.hc_Zhong@sjtu.edu.cn) by proxy02.sjtu.edu.cn (Postfix) with ESMTPSA id 224D7200B4497; Thu, 16 Jul 2020 20:51:17 +0800 (CST) From: Hongcheng Zhong To: ffmpeg-devel@ffmpeg.org Date: Thu, 16 Jul 2020 20:51:12 +0800 Message-Id: <20200716125116.187031-2-sj.hc_Zhong@sjtu.edu.cn> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200716125116.187031-1-sj.hc_Zhong@sjtu.edu.cn> References: <20200716125116.187031-1-sj.hc_Zhong@sjtu.edu.cn> MIME-Version: 1.0 Subject: [FFmpeg-devel] [RFC][GSoC][PATCH v2 2/6] avformat/http: Add abr to whitelist 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 Cc: spartazhc Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: ykQGq5RljC9y Content-Length: 1382 From: spartazhc add abr protocol to http's whitelist Signed-off-by: spartazhc --- libavformat/http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/http.c b/libavformat/http.c index 6c39da1a8b..b77517ff51 100644 --- a/libavformat/http.c +++ b/libavformat/http.c @@ -1815,7 +1815,7 @@ const URLProtocol ff_http_protocol = { .priv_data_size = sizeof(HTTPContext), .priv_data_class = &http_context_class, .flags = URL_PROTOCOL_FLAG_NETWORK, - .default_whitelist = "http,https,tls,rtp,tcp,udp,crypto,httpproxy,data" + .default_whitelist = "http,https,tls,rtp,tcp,udp,crypto,httpproxy,data,ffabr" }; #endif /* CONFIG_HTTP_PROTOCOL */