From patchwork Wed Apr 19 19:52:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anton Khirnov X-Patchwork-Id: 41273 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:4645:b0:e3:3194:9d20 with SMTP id eb5csp744806pzb; Wed, 19 Apr 2023 12:55:57 -0700 (PDT) X-Google-Smtp-Source: AKy350aqvj3mTFcXXVbg3819W1l4HexwjmF2J6ociNv9g8h3TdDUvXkbWX1L9ZjZVwwVO6l1eb67 X-Received: by 2002:aa7:d542:0:b0:506:a2bb:fc43 with SMTP id u2-20020aa7d542000000b00506a2bbfc43mr6680299edr.15.1681934157680; Wed, 19 Apr 2023 12:55:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681934157; cv=none; d=google.com; s=arc-20160816; b=Q2pGMs4Aq8kdfZPCX5AMgwn7Ieq/BzQ0uANtO+dkE/Ut6a+tnYP5+casPtqAzfX4vv yqRkqz3NGc1gOm8VLCwM+KIXFB4M/C5J6EEP2jJieATuZomTIsmm6BoX4gSn/C3BYciA OZh6bjtJNNsi2Jn/ruHj6SUqB0Kqogs+2LWSV/rgICBY9up0QuGfWwFiOA+2PrOVH1SM +Hdk9vdIUpDWb4Na8x2Q7uwM2I1GtI2g+0rokh9JjnLpAwjQ7y9GLxHMyYNFAvz/EMDO YsL01nWFAz5HG9gE6fwpyc7ApNQia/dvmuDFmnO2Q+1IRI2ayp4ZIcTXDiv69LJir/5r s/kQ== 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=WKthd23q2aDDwy2DfhV3YGLiVvyLESk5o82NznntkDQ=; b=sB3+flHfxTKOrbkHcqM5OS8LQjH7J/9aZRE6UuafGiZGfk5YnZSGeGdMrE6dkQ+g8z Rzw+jTax5Q2JLG0Ed0f5ulHLrzIvNmj3EQb2FgZi4v671Lh/vJw4DR+zSSEy5HNLDcYh jJFbG+HHuPlsGoOlWLO6sUwpnscCgIGilxogZbUB8kUIdgpDdfcDU5p4e0ktbNROzS8T FTuZbH4smMjiZuO4l9xEgY+T4RMkovDRD47wBpbG1j++84ZRayDY2FzBdllG8pZZ78wX d/iLYttajQWlfCKLr5kJMGh4y08/xNG08+IdbhKbb0bGlzzFnitazmc+t8+0Ji6MjnqQ QZmw== 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 n8-20020a056402514800b005069701846csi9553107edd.416.2023.04.19.12.55.57; Wed, 19 Apr 2023 12:55:57 -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 8CA8B68BF6D; Wed, 19 Apr 2023 22:53:24 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail0.khirnov.net (red.khirnov.net [176.97.15.12]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 4BDBF68BEC0 for ; Wed, 19 Apr 2023 22:53:03 +0300 (EEST) Received: from localhost (localhost [IPv6:::1]) by mail0.khirnov.net (Postfix) with ESMTP id 45E312406CC for ; Wed, 19 Apr 2023 21:53:02 +0200 (CEST) Received: from mail0.khirnov.net ([IPv6:::1]) by localhost (mail0.khirnov.net [IPv6:::1]) (amavisd-new, port 10024) with ESMTP id Y7S39ADdGNCY for ; Wed, 19 Apr 2023 21:53:00 +0200 (CEST) Received: from libav.khirnov.net (libav.khirnov.net [IPv6:2a00:c500:561:201::7]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "libav.khirnov.net", Issuer "smtp.khirnov.net SMTP CA" (verified OK)) by mail0.khirnov.net (Postfix) with ESMTPS id 308302406CD for ; Wed, 19 Apr 2023 21:52:56 +0200 (CEST) Received: from libav.khirnov.net (libav.khirnov.net [IPv6:::1]) by libav.khirnov.net (Postfix) with ESMTP id 166E23A07F8 for ; Wed, 19 Apr 2023 21:52:56 +0200 (CEST) From: Anton Khirnov To: ffmpeg-devel@ffmpeg.org Date: Wed, 19 Apr 2023 21:52:35 +0200 Message-Id: <20230419195243.2974-17-anton@khirnov.net> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230419195243.2974-1-anton@khirnov.net> References: <20230419195243.2974-1-anton@khirnov.net> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 17/25] fftools/ffmpeg_mux_init: drop a redundant assignment 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: JcTGHpv1w0uz OutputFilter.format is initialized in ofilter_alloc(). --- fftools/ffmpeg_mux_init.c | 1 - 1 file changed, 1 deletion(-) diff --git a/fftools/ffmpeg_mux_init.c b/fftools/ffmpeg_mux_init.c index ad5a451581..1a63908074 100644 --- a/fftools/ffmpeg_mux_init.c +++ b/fftools/ffmpeg_mux_init.c @@ -1259,7 +1259,6 @@ static void init_output_filter(OutputFilter *ofilter, const OptionsContext *o, ost->filter = ofilter; ofilter->ost = ost; - ofilter->format = -1; if (!ost->enc_ctx) { av_log(ost, AV_LOG_ERROR, "Streamcopy requested for output stream fed "