From patchwork Tue Jun 2 18:56:27 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas George X-Patchwork-Id: 20131 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 2B71644B127 for ; Tue, 2 Jun 2020 21:56:38 +0300 (EEST) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 085B368AA35; Tue, 2 Jun 2020 21:56:38 +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 D2A2568AA35 for ; Tue, 2 Jun 2020 21:56:30 +0300 (EEST) X-ENS-nef-client: 129.199.129.80 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 052IuTks029893 for ; Tue, 2 Jun 2020 20:56:30 +0200 Received: by phare.normalesup.org (Postfix, from userid 1001) id D0233E0633; Tue, 2 Jun 2020 20:56:29 +0200 (CEST) From: Nicolas George To: ffmpeg-devel@ffmpeg.org Date: Tue, 2 Jun 2020 20:56:27 +0200 Message-Id: <20200602185627.592077-1-george@nsup.org> X-Mailer: git-send-email 2.26.2 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, 02 Jun 2020 20:56:30 +0200 (CEST) Subject: [FFmpeg-devel] [PATCH] lavf/tee: pass options to protocol. 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" Fix trac ticket #8705. Signed-off-by: Nicolas George --- libavformat/tee.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Not tested, I have no icecast server at hand. I will ask the reporter to test. diff --git a/libavformat/tee.c b/libavformat/tee.c index f2b11fcb35..c5c59975e6 100644 --- a/libavformat/tee.c +++ b/libavformat/tee.c @@ -295,7 +295,7 @@ static int open_slave(AVFormatContext *avf, char *slave, TeeSlave *tee_slave) goto end; } - ret = ff_format_output_open(avf2, filename, NULL); + ret = ff_format_output_open(avf2, filename, &options); if (ret < 0) { av_log(avf, AV_LOG_ERROR, "Slave '%s': error opening: %s\n", slave, av_err2str(ret));