From patchwork Thu Jan 12 13:58:20 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas George X-Patchwork-Id: 2196 Delivered-To: ffmpegpatchwork@gmail.com Received: by 10.103.89.21 with SMTP id n21csp1286931vsb; Thu, 12 Jan 2017 05:58:30 -0800 (PST) X-Received: by 10.194.122.42 with SMTP id lp10mr10402809wjb.47.1484229510840; Thu, 12 Jan 2017 05:58:30 -0800 (PST) Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id 35si7368912wrp.148.2017.01.12.05.58.30; Thu, 12 Jan 2017 05:58:30 -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 85C9E68A210; Thu, 12 Jan 2017 15:58:20 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from nef2.ens.fr (nef2.ens.fr [129.199.96.40]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 4B42E689A32 for ; Thu, 12 Jan 2017 15:58:14 +0200 (EET) Received: from phare.normalesup.org (phare.normalesup.org [129.199.129.80]) by nef2.ens.fr (8.13.6/1.01.28121999) with ESMTP id v0CDwLxx070813 for ; Thu, 12 Jan 2017 14:58:21 +0100 (CET) Received: by phare.normalesup.org (Postfix, from userid 1001) id AE97FEB5BB; Thu, 12 Jan 2017 14:58:21 +0100 (CET) From: Nicolas George To: ffmpeg-devel@ffmpeg.org Date: Thu, 12 Jan 2017 14:58:20 +0100 Message-Id: <20170112135820.13697-1-george@nsup.org> X-Mailer: git-send-email 2.11.0 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (nef2.ens.fr [129.199.96.32]); Thu, 12 Jan 2017 14:58:22 +0100 (CET) Subject: [FFmpeg-devel] [PATCH] lavfi: remove stray semicolons. 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 MIME-Version: 1.0 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Hopefully fix compilation with suncc. Signed-off-by: Nicolas George --- libavfilter/asrc_anoisesrc.c | 2 +- libavfilter/buffersink.c | 22 +++++++++++----------- 2 files changed, 12 insertions(+), 12 deletions(-) Well, I am responsible for some of them, but not all of them, and it has been broken for quite some time. diff --git a/libavfilter/asrc_anoisesrc.c b/libavfilter/asrc_anoisesrc.c index e4d4013749..709224c4cb 100644 --- a/libavfilter/asrc_anoisesrc.c +++ b/libavfilter/asrc_anoisesrc.c @@ -103,7 +103,7 @@ static av_cold int query_formats(AVFilterContext *ctx) static double white_filter(double white, double *buf) { return white; -}; +} static double pink_filter(double white, double *buf) { diff --git a/libavfilter/buffersink.c b/libavfilter/buffersink.c index b301e9f5ee..0f87b5439a 100644 --- a/libavfilter/buffersink.c +++ b/libavfilter/buffersink.c @@ -186,20 +186,20 @@ type av_buffersink_get_##field(const AVFilterContext *ctx) { \ return ctx->inputs[0]->field; \ } -MAKE_AVFILTERLINK_ACCESSOR(enum AVMediaType , type ); -MAKE_AVFILTERLINK_ACCESSOR(AVRational , time_base ); -MAKE_AVFILTERLINK_ACCESSOR(int , format ); +MAKE_AVFILTERLINK_ACCESSOR(enum AVMediaType , type ) +MAKE_AVFILTERLINK_ACCESSOR(AVRational , time_base ) +MAKE_AVFILTERLINK_ACCESSOR(int , format ) -MAKE_AVFILTERLINK_ACCESSOR(AVRational , frame_rate ); -MAKE_AVFILTERLINK_ACCESSOR(int , w ); -MAKE_AVFILTERLINK_ACCESSOR(int , h ); -MAKE_AVFILTERLINK_ACCESSOR(AVRational , sample_aspect_ratio); +MAKE_AVFILTERLINK_ACCESSOR(AVRational , frame_rate ) +MAKE_AVFILTERLINK_ACCESSOR(int , w ) +MAKE_AVFILTERLINK_ACCESSOR(int , h ) +MAKE_AVFILTERLINK_ACCESSOR(AVRational , sample_aspect_ratio) -MAKE_AVFILTERLINK_ACCESSOR(int , channels ); -MAKE_AVFILTERLINK_ACCESSOR(uint64_t , channel_layout ); -MAKE_AVFILTERLINK_ACCESSOR(int , sample_rate ); +MAKE_AVFILTERLINK_ACCESSOR(int , channels ) +MAKE_AVFILTERLINK_ACCESSOR(uint64_t , channel_layout ) +MAKE_AVFILTERLINK_ACCESSOR(int , sample_rate ) -MAKE_AVFILTERLINK_ACCESSOR(AVBufferRef * , hw_frames_ctx ); +MAKE_AVFILTERLINK_ACCESSOR(AVBufferRef * , hw_frames_ctx ) static av_cold int vsink_init(AVFilterContext *ctx, void *opaque) {