From patchwork Sun Oct 2 18:46:55 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Adriano Pallavicino X-Patchwork-Id: 836 Delivered-To: ffmpegpatchwork@gmail.com Received: by 10.103.140.66 with SMTP id o63csp1246626vsd; Sun, 2 Oct 2016 11:47:05 -0700 (PDT) X-Received: by 10.28.102.6 with SMTP id a6mr6126293wmc.97.1475434025250; Sun, 02 Oct 2016 11:47:05 -0700 (PDT) Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id jw4si1425080wjb.294.2016.10.02.11.47.04; Sun, 02 Oct 2016 11:47:05 -0700 (PDT) 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; dkim=neutral (body hash did not verify) header.i=@gmail.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; dmarc=fail (p=NONE dis=NONE) header.from=gmail.com Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 2B3FE689E00; Sun, 2 Oct 2016 21:46:49 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-wm0-f50.google.com (mail-wm0-f50.google.com [74.125.82.50]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id CB12E68060B for ; Sun, 2 Oct 2016 21:46:42 +0300 (EEST) Received: by mail-wm0-f50.google.com with SMTP id p138so113842557wmb.1 for ; Sun, 02 Oct 2016 11:46:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:message-id:subject:to; bh=14xC5ohkW59HS3Hp1kJncZ33xg/F7V27cKE3KclT9Cc=; b=hxxfOzlS7qEeyPfsmkpAqr6IzDNo8jP7zADSA3giSkbq95I7q2yESth01AdjjYdv1s kNgxqtmwfIONDinKOi+lp+LP8VL9tpjeBj44kmOZU8M2BNS/dmVLEmskAS5d/sY+SfXS P+9lHpOaWzlIZ9a565KlMdGGkRO8hmzJiz6I00ObZqTl5V6mnQ7RrIUQEe3M/DfUNyPE i9VdFl+XOZdNB70UR+ms/LUgXqkvzDX1Ko2HPbZoUZpyfGt85EVF5wvMOMTydyvze8pu WwAKxIg5rE3/4m4zOdetUNn2wyrRufaaOY4816vo1mHONC9CuXz2pC3VhxcY3SSxBbgC QhfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to; bh=14xC5ohkW59HS3Hp1kJncZ33xg/F7V27cKE3KclT9Cc=; b=cfABJt/OlmRdpbTMJQQe91rPe1eXeCtNJrx3s/GerLwaB7/1Gk5O3SIqhEvzvq/XKs G9jtzaDAn6jRSBnep4PfJu3wyQteFngGjNLQrjfRS8fwuxT83CMkhUAMnrui9TNsoa3Y hvb0nRmMAIa5s2N9fnglJsuhshHx8Oo5uirc8MqLcxhlg2EAV4qcmv5dxC+JGUX+AD3d NWMOAmqnBWDKJfYTvcClrofhKaGnDDuaT9dgR7O1LCCbGHKxrZoqDtzrNNiSU9an1PGe fccuXJJ/zq6vcU7yCz4Yt/u96BdAHtpjSddS7VV9cLpLMvi7PGG3OfgIYy04yPEtWtOS w4jw== X-Gm-Message-State: AA6/9Rm5lQjuSHm85sKlekJ5qPVfbPFATwqIphhRDvH3dcx1MKzyPpFwFziYZIr/p/q01LsuKUu7RpaMrPe9mg== X-Received: by 10.194.248.226 with SMTP id yp2mr6478805wjc.117.1475434016043; Sun, 02 Oct 2016 11:46:56 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.69.84 with HTTP; Sun, 2 Oct 2016 11:46:55 -0700 (PDT) From: Adriano Pallavicino Date: Sun, 2 Oct 2016 20:46:55 +0200 X-Google-Sender-Auth: 4KtTBYrE9gLqzzeJ52IKzAyN_xM Message-ID: To: FFmpeg development discussions and patches X-Content-Filtered-By: Mailman/MimeDel 2.1.20 Subject: [FFmpeg-devel] [PATCH 2/2] libavcodec/ivi_dsp.c: fix warning due to misleading indentation 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 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" From ca69f377f019dc72e7f34020634b57e1e9c6a8d2 Mon Sep 17 00:00:00 2001 From: Adriano Pallavicino Date: Sun, 2 Oct 2016 20:42:44 +0200 Subject: [PATCH] Fix warning due to misleading indendation in ivi_dsp.c line 592 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit libavcodec/ivi_dsp.c: In function ‘ff_ivi_inverse_slant_4x4’: libavcodec/ivi_dsp.c:592:11: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation] } else ^~~~ libavcodec/ivi_dsp.c:595:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘else’ src++; Changes to be committed: modified: libavcodec/ivi_dsp.c Signed-off-by: Adriano Pallavicino --- libavcodec/ivi_dsp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/ivi_dsp.c b/libavcodec/ivi_dsp.c index 99a7ad5..5211269 100644 --- a/libavcodec/ivi_dsp.c +++ b/libavcodec/ivi_dsp.c @@ -592,8 +592,8 @@ void ff_ivi_inverse_slant_4x4(const int32_t *in, int16_t *out, uint32_t pitch, c } else dst[0] = dst[4] = dst[8] = dst[12] = 0; - src++; - dst++; + src++; + dst++; } #undef COMPENSATE -- 2.7.4