From patchwork Tue Mar 19 21:58:38 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jun Li X-Patchwork-Id: 12358 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 D456C44804C for ; Tue, 19 Mar 2019 23:58:57 +0200 (EET) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id BD90968A94D; Tue, 19 Mar 2019 23:58:57 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-pg1-f169.google.com (mail-pg1-f169.google.com [209.85.215.169]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 1E70868A931 for ; Tue, 19 Mar 2019 23:58:50 +0200 (EET) Received: by mail-pg1-f169.google.com with SMTP id u9so146051pgo.7 for ; Tue, 19 Mar 2019 14:58:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references; bh=8keG0qYaoJu7QWhdOk9RwhAydQuOyTF99TBKB5Wn1D4=; b=lomaFpGau2udC7NRRJQJ997keHJKfmEYSZHDWPUPH8iUisYIH0s27sSjNd94nxyscg dLny+0bF9fIHD0o4afafeCZ4v3xPe9cSVXz5AlWB2bOT1+Xr8Be96djSmrUoTKNAuW1M eJoRuoZ44c4uKyREVK03lT/nI2z2zXEUVH4ApMEFfzAQZHpqv0n57zg8XSmwaxh+isot 56laOU1PaNueIHPlwGUDLrgVyAWGWPeSGMWE6BnWhUlFZuXEqzxvrDmmiUet8rygUYoS 2OhItynttelhMJPWPSFrZ4ZSoPtRZG+1GA3MCGhVxIp4YewRN/PlXGg4Btx/0XtjrHxL hIrA== 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; bh=8keG0qYaoJu7QWhdOk9RwhAydQuOyTF99TBKB5Wn1D4=; b=Ul+n9Zw/KaBfSe6uyXIqcuXZj03ZScUZy3gI54iVHzde5Ez7b1SREzNgBzPLLrymLW 8rezze6D6Okm9YJVgCo3TR16976yWZ1scofSK8QEqn6CStOP+GNXPC/vG3M/Ep8Kb9W6 cC/cgmXOqEcZewhzHKjfhlnmO38h10TW6/D4oHtZ61zxLxu+0rRZIn3MVOXPRSO8mfx6 EHb4hKmfiEQU8X6YWqi8dtkF5fVBYjrh5OO8IeKpwt/ZSzolaSf9DiGwi3HJnnIQopm9 1G3EsAo98q1LZVyaSkup3d8HR8sfoRSeVQt5CKkXUh5AJ/RwJzkiEqVvsETa1EbDBeKa vS+g== X-Gm-Message-State: APjAAAWuVOF68Bz1hBZV2RoMhOSJCw0DcNp1tP2SeStbDDS6C6+JZZMA y2FxIi8yZnvEccNRkfNxDID4htjE X-Google-Smtp-Source: APXvYqxrK3qzUrL7dQIKCZle/QmSNp4nkKvk8zrCW+InkQid3/Okx4PZ/x0hvgl1qA6HqUFMAOE6rg== X-Received: by 2002:a62:449b:: with SMTP id m27mr4176626pfi.79.1553032728124; Tue, 19 Mar 2019 14:58:48 -0700 (PDT) Received: from jun-ubuntu.corp.microsoft.com ([2001:4898:80e8:a:e8de:6afa:bf6c:dfca]) by smtp.googlemail.com with ESMTPSA id k27sm26750398pgb.70.2019.03.19.14.58.47 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Mar 2019 14:58:47 -0700 (PDT) From: Jun Li To: ffmpeg-devel@ffmpeg.org Date: Tue, 19 Mar 2019 14:58:38 -0700 Message-Id: <20190319215839.32193-3-junli1026@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190319215839.32193-1-junli1026@gmail.com> References: <20190319215839.32193-1-junli1026@gmail.com> Subject: [FFmpeg-devel] [PATCH v1 2/3] avformat/icecast: Modify send-100-continue setting 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 MIME-Version: 1.0 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Modify send-100-continue option to -1 because the default behavior is changed in http.c --- libavformat/icecast.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/icecast.c b/libavformat/icecast.c index c93b06b553..d2198b78ec 100644 --- a/libavformat/icecast.c +++ b/libavformat/icecast.c @@ -115,7 +115,7 @@ static int icecast_open(URLContext *h, const char *uri, int flags) av_dict_set(&opt_dict, "auth_type", "basic", 0); av_dict_set(&opt_dict, "headers", headers, 0); av_dict_set(&opt_dict, "chunked_post", "0", 0); - av_dict_set(&opt_dict, "send_expect_100", s->legacy_icecast ? "0" : "1", 0); + av_dict_set(&opt_dict, "send_expect_100", s->legacy_icecast ? "-1" : "1", 0); if (NOT_EMPTY(s->content_type)) av_dict_set(&opt_dict, "content_type", s->content_type, 0); else