From patchwork Tue Sep 28 08:22:41 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gijs Peskens X-Patchwork-Id: 30624 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a6b:6506:0:0:0:0:0 with SMTP id z6csp4962398iob; Tue, 28 Sep 2021 01:23:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxRrps2E+wKAy3C+Z7byU6k4L5RwFUGI2psFjBWNxXB/iu/0QPsb8L3LnQBNCwINQ3z0fqc X-Received: by 2002:aa7:d619:: with SMTP id c25mr6021278edr.365.1632817397380; Tue, 28 Sep 2021 01:23:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632817397; cv=none; d=google.com; s=arc-20160816; b=b1HXNrKCAIrYZG59c3eTKvHho4QUpAyqSRNY4veSQFiViWf1yOE3K1rFpeWjdQBFz7 yFuTsv02V+wOfNCiUnBV5NPcItYeHblwhQ5083bWUJ2TnugngdvZIyTsxQmpySBknGtt 7f6z4LND8YyMsJOQUWX7OmIk2Aku5gVvRou7h8CK2exXrcxkxJb2BqR4BUks1NjAEDp+ CIKFHqJZ9dhREn9OyG3TsAKtnM7ViE/hTImtdFa13uVcJysjVIFU4hQ7qZE9fQQ1AiIR cnEGR0qjF3fwup/muQ93bpnEc0z/B+bz8uEqpL90Z5jnzyrkpMttPq7fxBADQXi8G3hX GM8Q== 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:dkim-signature:delivered-to; bh=SL44zwRTzLxDiFEGRi1ia8lgAJIRst3sKshVwHjnoss=; b=ZGCS3SP1jwH3ADkDViLdPuvyqfLPcf2Llw8LQ5MUW4dN5NibqaAoMqNhjC68oM3vYY na4N4rultJreZgev9s2dvqBryOjn7q96a4mkTbxvX/Y/OZB74e2timYxZ1zMuzkot4vo gUNRd88OzY3XwdKDbjbTF8pgmxvrJ6iN/Eoekm+lYr9c50GKMl9VdEcFDMhuxHeGZ6PM YYmEIzJncoGTgBkhZC7M1p6JDiGB7E3idv4bh8gzlbTCuqbYmfuqJSGX2TSJ+e0Flmy7 rm2eHLuL9bNXtwDY8xgr8XWqyioQr0nZgvFNMfON510q3dYeFBenQLFhTgi0ymTvQ15U a4QQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@heteigenwijsje.nl header.s=dkim header.b=NleuAqTY; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=peskens.net Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id fj2si22540201ejc.474.2021.09.28.01.23.17; Tue, 28 Sep 2021 01:23:17 -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; dkim=neutral (body hash did not verify) header.i=@heteigenwijsje.nl header.s=dkim header.b=NleuAqTY; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=peskens.net Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 5A3716899A4; Tue, 28 Sep 2021 11:22:54 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from smtp.heteigenwijsje.nl (smtp.heteigenwijsje.nl [80.127.116.100]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 1A6C16880FA for ; Tue, 28 Sep 2021 11:22:45 +0300 (EEST) Received: from mail.heteigenwijsje.nl (localhost [127.0.0.1]) by smtp.heteigenwijsje.nl (Postfix) with ESMTP id DABC69C409 for ; Tue, 28 Sep 2021 10:18:03 +0200 (CEST) Authentication-Results: mail.heteigenwijsje.nl (amavisd-new); dkim=pass (1024-bit key) reason="pass (just generated, assumed good)" header.d=heteigenwijsje.nl DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d= heteigenwijsje.nl; h=content-transfer-encoding:mime-version :references:in-reply-to:x-mailer:message-id:date:date:subject :subject:to:from:from; s=dkim; t=1632817082; x=1635409083; bh=4i MAgxIMQr9Sp4jDsbdKTaKmogNgoxn43Cggwm/T6Pg=; b=NleuAqTYWc/7DEmaSn qMuqY5ZCWFEc0FCrSuFlZvdFet0+dJB4Ie3XhwLGC9nFSwqzCmOYtpwWzHcogQyE z8Sllfin+nXPVnOJVI+swtCoHOFYD0pLaYVvtot3+Ta39VEez4gZByMfjWDhzJR1 xDScRytxDet02UEU9wO67liZI= X-Virus-Scanned: amavisd-new at mail.heteigenwijsje.nl Received: from smtp.heteigenwijsje.nl ([127.0.0.1]) by mail.heteigenwijsje.nl (mail.heteigenwijsje.nl [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Ak_0QY_gAKZx for ; Tue, 28 Sep 2021 10:18:02 +0200 (CEST) Received: from smtp.heteigenwijsje.nl (localhost [127.0.0.1]) by smtp.heteigenwijsje.nl (Postfix) with ESMTP id CEA839C406 for ; Tue, 28 Sep 2021 10:18:01 +0200 (CEST) Received: from unknown ([94.208.100.217]) by smtp.heteigenwijsje.nl with ESMTPSA id GLNxMbnPUmGEtAAAc3PRCQ (envelope-from ) for ; Tue, 28 Sep 2021 10:18:01 +0200 From: Gijs Peskens To: ffmpeg-devel@ffmpeg.org Date: Tue, 28 Sep 2021 10:22:41 +0200 Message-Id: <20210928082241.918233-3-gijs@peskens.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210928082241.918233-1-gijs@peskens.net> References: <20210928082241.918233-1-gijs@peskens.net> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 3/3] librist: set logsocket config to -1 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: Ke+727wthuGw Signed-off-by: Gijs Peskens --- libavformat/librist.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/librist.c b/libavformat/librist.c index 47c01a8432..987056ccd1 100644 --- a/libavformat/librist.c +++ b/libavformat/librist.c @@ -245,6 +245,7 @@ static int librist_open(URLContext *h, const char *uri, int flags) if ((flags & AVIO_FLAG_READ_WRITE) == AVIO_FLAG_READ_WRITE) return AVERROR(EINVAL); + s->logging_settings.log_socket = -1; ret = rist_logging_set(&logging_settings, s->log_level, log_cb, h, NULL, NULL); if (ret < 0) return risterr2ret(ret);