From patchwork Thu Feb 27 05:33:51 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Rheinhardt X-Patchwork-Id: 17935 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 CD0BD44A009 for ; Thu, 27 Feb 2020 07:34:23 +0200 (EET) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id A295568B4FA; Thu, 27 Feb 2020 07:34:23 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-wm1-f68.google.com (mail-wm1-f68.google.com [209.85.128.68]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 89B5A68B300 for ; Thu, 27 Feb 2020 07:34:17 +0200 (EET) Received: by mail-wm1-f68.google.com with SMTP id t14so1900875wmi.5 for ; Wed, 26 Feb 2020 21:34:17 -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=vcPtnR8K1N1fOe2970UAShUd8UUAjvYKxmRnxmUYJVc=; b=i10Z3uIQMUYBLjCDb57qDW76z7X/KdHWMWauCz20A502t1E/kejFzbmKOqn2dkUuB1 10bFecQsE+8AtFm4UMHGUjHOzcjM5hIjnLCbQG/SLdI2/wFBFwajMAjhhadblWRGgmfb LXoTIs3zvHd4YZ9oRItSqNnkTqvx6/M9pPlLvniVLrJ7/Qsj/skzpfS7U2RxQik5PQg1 VT+jqpVaZ0SzKYUuW+JrV4POuUryZXgpEqNVJ1neqVfsIBWXZV+r6vEcdZqssBtnU+vc Fsq9KbZ668q1fbPEfQzMN7MkSbL+Zr0XR0CfFjOjqwtw0O4508wKylbOt0y8wrTxHcqT +8OA== 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=vcPtnR8K1N1fOe2970UAShUd8UUAjvYKxmRnxmUYJVc=; b=iNBlyNtO2BufaMuUiwv2T66rqtFg00G/ohrCp1jp6TwNrQ8TP8CxcpC56FYGDQVvzp dluQmm2DLX8wmJonRddH3nYABU8fIBihJGqoI3Jfjtjb+qmyS09A+XOGIzyVlOyY9UlP JXfEsqRaKxNr5yY3+FPetjcyamjX1zGf9FoxzyGyXB4SoUKJYTeHzqgnrjrdivu5m70O aM5VQSXHXVy9vRAkHjU5yegfqiqmhCnfDza6OdN1uOSEuDg+v5IpMH+WiYMhfSSkXvOz bXiTvdhomOZIkrqt9Cdww3mxSsof7WIy2vqvOof6DqWymbbQJQ6ST8HWhrIhM93ZmmWd aYhg== X-Gm-Message-State: APjAAAWg5AQcE5Vl8UyiU87tpHEAEE8X1IN97g07NjmKpCSsivOI38G7 O975e7u84NJOhpFUnSR6R0uu+z28 X-Google-Smtp-Source: APXvYqwPXztW5W08lm3JIVZ4k/V5FIWOOAFZh3KCNZh5ZWCycCpsLwXh2N7X5nl3TeZx+aiQY5h7WQ== X-Received: by 2002:a1c:4c13:: with SMTP id z19mr2880722wmf.75.1582781656819; Wed, 26 Feb 2020 21:34:16 -0800 (PST) Received: from sblaptop.fritz.box (ipbcc1ab4b.dynamic.kabel-deutschland.de. [188.193.171.75]) by smtp.gmail.com with ESMTPSA id b10sm6424481wrw.61.2020.02.26.21.34.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Feb 2020 21:34:16 -0800 (PST) From: Andreas Rheinhardt To: ffmpeg-devel@ffmpeg.org Date: Thu, 27 Feb 2020 06:33:51 +0100 Message-Id: <20200227053351.26785-2-andreas.rheinhardt@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200227053351.26785-1-andreas.rheinhardt@gmail.com> References: <20200227053351.26785-1-andreas.rheinhardt@gmail.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 2/2] avcodec/cdtoons: Remove superfluous ; 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" The second ; in a double ;; is actually a null statement. It triggers the typical declaration-after-statement compiler-warnings if it occurs in the middle of several declarations (like here). Signed-off-by: Andreas Rheinhardt --- libavcodec/cdtoons.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/cdtoons.c b/libavcodec/cdtoons.c index d5dce6351f..13f9a60f0f 100644 --- a/libavcodec/cdtoons.c +++ b/libavcodec/cdtoons.c @@ -61,7 +61,7 @@ static int cdtoons_render_sprite(AVCodecContext *avctx, const uint8_t *data, { CDToonsContext *c = avctx->priv_data; const uint8_t *next_line = data; - const uint8_t *end = data + data_size;; + const uint8_t *end = data + data_size; uint16_t line_size; uint8_t *dest; int skip = 0, to_skip, x;