From patchwork Sun Aug 9 15:57:47 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Rheinhardt X-Patchwork-Id: 21561 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 EC66444B9EE for ; Sun, 9 Aug 2020 18:58:40 +0300 (EEST) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id D450768AD77; Sun, 9 Aug 2020 18:58:40 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-ed1-f66.google.com (mail-ed1-f66.google.com [209.85.208.66]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id D124168AA08 for ; Sun, 9 Aug 2020 18:58:34 +0300 (EEST) Received: by mail-ed1-f66.google.com with SMTP id a14so4684809edx.7 for ; Sun, 09 Aug 2020 08:58:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=5f3IzmWCGskDTfHqb7WqpVASxmILidKJJrAhQeBE51A=; b=eZKDU9eLh0hMgsXAL+gSjttaOsbiSaYuRcYkIwJoOoqoXcdo4ZyeggbwrFP6S/joaT OP0UABbBpX1QG8icEXyeqo611+1tAkIuX+sS9KpDq3N9IGQB0j1QjfHTmCMMWC4qc6DX ke99R9jY2KZX1KxIvpsASIFnQRXXtpgUQLsCXxyLAWfhliCYwhTbZmqJKAFjwzXSJDV+ ATXbWaslaGHws6wJFxaId5F7WpeLwbBfMmEJ4FToW+QBynpS9K2Na2B5E5IO1JvyPtyT JpiK0129uYvvv0jnGTTIeof9D4HLih0m7T1LGDx8b42+NyvSrr1p1OTcFNQnOATWYmfh +NtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=5f3IzmWCGskDTfHqb7WqpVASxmILidKJJrAhQeBE51A=; b=JEeepwMQtAkldaXO3IvdpZE0zA/M7Qaz6L1vi4Toqv2NMAowROfTObwNbb8lRBhaYu 0a0B56uSfFVXSvET4rWKWzmhqzyUxV5vkj1dtxUBbNwXTBOyADjrHD2nKzrH30msMMbn 6FBwIjU7RgOFOjPzRF2VUpFmq6Mxfe/SAIr0ArYOGRpD893V9UF33ke7s48Syf6fzfFD LkD8uqT3o0fwunzgc/2W9g1WzCnjCIrCPuCZrNm7a98xiaFP64z8e0RPRGMpRMHb3lzc inBD/A0M864mPrnRnsXEY5Za00nsV61sBltd315mSnwqBdJ9iqzzNo52OJ5NqugAscpV gXHg== X-Gm-Message-State: AOAM530ZxKiLCXQcoN3XtEMpa8o6wNgkUdN+ymMoW2W6UOOVB3Myr/Xd JDyxoNous9WnxOXJc7tIqUFrCR/D X-Google-Smtp-Source: ABdhPJyG99pALQzhNMMt/2b7XdVm+KDst9Zzugv8UO8dm3kO8UgmH/FVi4lvOqKGJRwQuPnkCc+USg== X-Received: by 2002:aa7:d809:: with SMTP id v9mr17521484edq.94.1596988713937; Sun, 09 Aug 2020 08:58:33 -0700 (PDT) Received: from sblaptop.fritz.box (ipbcc10296.dynamic.kabel-deutschland.de. [188.193.2.150]) by smtp.gmail.com with ESMTPSA id g11sm5360290edv.95.2020.08.09.08.58.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 09 Aug 2020 08:58:33 -0700 (PDT) From: Andreas Rheinhardt To: ffmpeg-devel@ffmpeg.org Date: Sun, 9 Aug 2020 17:57:47 +0200 Message-Id: <20200809155748.30092-14-andreas.rheinhardt@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200808140202.586-1-andreas.rheinhardt@gmail.com> References: <20200808140202.586-1-andreas.rheinhardt@gmail.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 20/21] avfilter/avfiltergraph: Remove unused macro parameter 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 Cc: Andreas Rheinhardt Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Signed-off-by: Andreas Rheinhardt --- libavfilter/avfiltergraph.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavfilter/avfiltergraph.c b/libavfilter/avfiltergraph.c index a149f8fb6d..681c519ef0 100644 --- a/libavfilter/avfiltergraph.c +++ b/libavfilter/avfiltergraph.c @@ -748,7 +748,7 @@ static int pick_format(AVFilterLink *link, AVFilterLink *ref) return 0; } -#define REDUCE_FORMATS(fmt_type, list_type, list, var, nb, add_format, unref_format) \ +#define REDUCE_FORMATS(fmt_type, list_type, list, var, nb, add_format) \ do { \ for (i = 0; i < filter->nb_inputs; i++) { \ AVFilterLink *link = filter->inputs[i]; \ @@ -790,9 +790,9 @@ static int reduce_formats_on_filter(AVFilterContext *filter) int i, j, k, ret = 0; REDUCE_FORMATS(int, AVFilterFormats, formats, formats, - nb_formats, ff_add_format, ff_formats_unref); + nb_formats, ff_add_format); REDUCE_FORMATS(int, AVFilterFormats, samplerates, formats, - nb_formats, ff_add_format, ff_formats_unref); + nb_formats, ff_add_format); /* reduce channel layouts */ for (i = 0; i < filter->nb_inputs; i++) {