From patchwork Sun Jan 24 21:32:53 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Rheinhardt X-Patchwork-Id: 25151 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 0BBD044AF6B for ; Sun, 24 Jan 2021 23:33:55 +0200 (EET) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id E88C368824C; Sun, 24 Jan 2021 23:33:54 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com [209.85.221.45]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 464AF6800C9 for ; Sun, 24 Jan 2021 23:33:48 +0200 (EET) Received: by mail-wr1-f45.google.com with SMTP id g10so10368496wrx.1 for ; Sun, 24 Jan 2021 13:33:48 -0800 (PST) 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=uXCZUmFeOrh4Zw25CfX8rKeRQ7g78+l83aRK6vSTkqY=; b=BVfwjA7K/Q7CgJvrPa1oHdov4c3+nAicRjicpKUieQCCqSKia/nIqu/j22/FK+bn51 rrDqSGtFb6zUwlnsNDsAW8YUCWrnFE3577Yul4p5pQWpu+kMcXU8Q0CS48RTtc2tyAmB +w+v2rb0D3RpGUhqJA0pxGOe+jkbhlf/ZVosxQWvAHQFwo+4Mt+Q894TjRQo1kRRt5mw qgPT34Bozlxj90zRIy+FX6pVfCwr4BlX55eaUpvmbwO6b0NOejxTPOpKmLn3grmiQwEZ v4K5Q/02DTKyOJJpKTKXjST1816bL/8ZDTdXyD7t/daW54wRhpZBmjrHGIjwiVCEhCTY C9Zw== 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=uXCZUmFeOrh4Zw25CfX8rKeRQ7g78+l83aRK6vSTkqY=; b=l67E9NkefJG3tEWGKdhLrgdIq7QHzDgndyqqmRGC37u2FWOEhKySDX6d7Uzl7FyoXf 2tbWCOgT4p0kILRYJ76lVijyRNalml6i1rJXLeWRVlHnvoGkikjSXuajVdXREvs9EBcx IaFy4GExJp0pxd1sdHSHY3PTmB4tYd6pJjczDl52uhiFbarLrrbIwNT175ftbaWOJ4SB b7VXR+9WCsc+VY63RN+0MFutcIi512yg/9ThrgQoMY1ni8zgfry3N7y3kQEAjwTD/hbl bHpJL3FG/vMgRWCwaABgZhXN5NJFEcaJyeV/mmdgR1PHOyd9XbibZkvCP1iaZJHXDXKl 7h8Q== X-Gm-Message-State: AOAM533JmE2qiFp+zp/sY9Ks22QAx3+G70wQO2zxyU+HdmOFWc3LMXHM ZreUYmTjnXAaHuppfBSrhI0nUKUGDuE= X-Google-Smtp-Source: ABdhPJxdmR59zwTWn2Z2c4yf7n/eEi496zS9xze9uYAtulzTiJt1QTZ9Vdnhum22CGF2atRpT0lZNQ== X-Received: by 2002:adf:9d42:: with SMTP id o2mr202220wre.135.1611524027627; Sun, 24 Jan 2021 13:33:47 -0800 (PST) Received: from sblaptop.fritz.box (ipbcc1aa4b.dynamic.kabel-deutschland.de. [188.193.170.75]) by smtp.gmail.com with ESMTPSA id v6sm19247837wrx.32.2021.01.24.13.33.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Jan 2021 13:33:47 -0800 (PST) From: Andreas Rheinhardt To: ffmpeg-devel@ffmpeg.org Date: Sun, 24 Jan 2021 22:32:53 +0100 Message-Id: <20210124213253.1344753-2-andreas.rheinhardt@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210124213253.1344753-1-andreas.rheinhardt@gmail.com> References: <20210124213253.1344753-1-andreas.rheinhardt@gmail.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 2/2] avfilter/vf_unsharp: Remove unnecessary ; 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" A macro that expands to a function definition might look like a declaration, but it isn't and therefore an extra ';' at the end is unnecessary and actually invalid (both GCC and Clang warn about this when using -pedantic). Signed-off-by: Andreas Rheinhardt --- libavfilter/vf_unsharp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavfilter/vf_unsharp.c b/libavfilter/vf_unsharp.c index e9b6c9008d..198dbbaa51 100644 --- a/libavfilter/vf_unsharp.c +++ b/libavfilter/vf_unsharp.c @@ -139,8 +139,8 @@ static int name##_##nbits(AVFilterContext *ctx, void *arg, int jobnr, int nb_job } \ return 0; \ } -DEF_UNSHARP_SLICE_FUNC(unsharp_slice, 16); -DEF_UNSHARP_SLICE_FUNC(unsharp_slice, 8); +DEF_UNSHARP_SLICE_FUNC(unsharp_slice, 16) +DEF_UNSHARP_SLICE_FUNC(unsharp_slice, 8) static int apply_unsharp_c(AVFilterContext *ctx, AVFrame *in, AVFrame *out) {