From patchwork Mon Dec 13 15:20:21 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anton Khirnov X-Patchwork-Id: 32424 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a6b:cd86:0:0:0:0:0 with SMTP id d128csp5572839iog; Mon, 13 Dec 2021 07:22:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJzZa8NZgwdFJ8ShUqCUbBq59iHFZe5ozR4wRLBY64tjWmycr03a8XuyelURHsm4+8BhscAb X-Received: by 2002:a17:907:7213:: with SMTP id dr19mr44390536ejc.157.1639408977754; Mon, 13 Dec 2021 07:22:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1639408977; cv=none; d=google.com; s=arc-20160816; b=w8yPwlhQeaOIC+H/z8jkXE5DQu/jLds6/1FRhSl9uwpqCefkTSZjTFsh5Gm6SOL6d7 NjRmrq70jF6PpzT0eAX864qIhqkVMRsY4ybgoGQXyudGfSH2pa18XTfhDlxvQdMJBydO QrZKXLoqNpxuONRUf6hEU7XQymUrMxjQwCOtp8FokFbbLAQWRtAmCnNavjnntcz2irUd K6fGh4u9v7tYZIhLhaobwz+8+L3Kbe43xBEvxSGwEN6ZEgYwnkwZo18Er3VCncHoee7l tmhPe5X6hSboSuoUaN5NXEbbblkGvWZIXEWEihxF/7hXeH3AwDxJxzKIznqam/syHjV0 x/dg== 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=/zXeGamRCBBqV6iyFI0iPSu0qNVHqnnVspJeixfxo34=; b=o9ppU7C0jOAEZEUHY0EmIUVZsLnLN9BY9zcdTr9ZAYQoxETyB3chh16mxyNez1hzuS sItK8vINXkuPIE/QJ4t9h8qLJxwFBK/x64etZ20iJjuZWaMmchbkfF6lJ1M3E1a0FzQr E0t3aJgPMZV+2mn9l4jr91OAl4ORg0Ol4P6dfPBORT11QEXKw+C6HFl/9EGYTtcWCbAq klHATT4Tyx/B5QSUSmAt6UtQmwzhCkrk8op/WSFdRW5sjuKmLRyj0Bbb2akp9hYI7+HD M5hR2lugsecQDc/ScDBQsMtKNycTQmbkoLW+Mx3QWaFHoRA3g4yKleesOPR4ie3pj/Xo O2tA== 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 de8si14662268ejc.412.2021.12.13.07.22.57; Mon, 13 Dec 2021 07:22:57 -0800 (PST) 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 1FD3168AF9C; Mon, 13 Dec 2021 17:22:19 +0200 (EET) 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 5BFFE68807F for ; Mon, 13 Dec 2021 17:22:09 +0200 (EET) Received: from localhost (localhost [IPv6:::1]) by mail0.khirnov.net (Postfix) with ESMTP id 04CD424017E for ; Mon, 13 Dec 2021 16:22:09 +0100 (CET) Received: from mail0.khirnov.net ([IPv6:::1]) by localhost (mail0.khirnov.net [IPv6:::1]) (amavisd-new, port 10024) with ESMTP id 20e8F4J_aeMK for ; Mon, 13 Dec 2021 16:22:08 +0100 (CET) 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 37D2D2404FE for ; Mon, 13 Dec 2021 16:22:07 +0100 (CET) Received: by libav.khirnov.net (Postfix, from userid 1000) id 122753A073E; Mon, 13 Dec 2021 16:22:07 +0100 (CET) From: Anton Khirnov To: ffmpeg-devel@ffmpeg.org Date: Mon, 13 Dec 2021 16:20:21 +0100 Message-Id: <20211213152042.5900-3-anton@khirnov.net> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211213152042.5900-1-anton@khirnov.net> References: <20211213152042.5900-1-anton@khirnov.net> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 03/24] ffmpeg: remove a redundant assignment of interrupt_callback 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: PaPJ/GZLWsvz It is already set in open_output_file(). --- fftools/ffmpeg.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c index b77531cb7f..fb017a1e37 100644 --- a/fftools/ffmpeg.c +++ b/fftools/ffmpeg.c @@ -2947,8 +2947,6 @@ static int check_init_output_file(OutputFile *of, int file_index) return 0; } - of->ctx->interrupt_callback = int_cb; - ret = avformat_write_header(of->ctx, &of->opts); if (ret < 0) { av_log(NULL, AV_LOG_ERROR,