From patchwork Sun Oct 2 18:31:58 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Adriano Pallavicino X-Patchwork-Id: 835 Delivered-To: ffmpegpatchwork@gmail.com Received: by 10.103.140.66 with SMTP id o63csp1242566vsd; Sun, 2 Oct 2016 11:32:10 -0700 (PDT) X-Received: by 10.194.178.65 with SMTP id cw1mr14062029wjc.215.1475433130147; Sun, 02 Oct 2016 11:32:10 -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 cu9si31210594wjc.2.2016.10.02.11.32.07; Sun, 02 Oct 2016 11:32:10 -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 902FB689D7B; Sun, 2 Oct 2016 21:31:51 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-wm0-f44.google.com (mail-wm0-f44.google.com [74.125.82.44]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 8930C689CCB for ; Sun, 2 Oct 2016 21:31:45 +0300 (EEST) Received: by mail-wm0-f44.google.com with SMTP id p138so113427438wmb.1 for ; Sun, 02 Oct 2016 11:31:59 -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=iixsgNYiTG/Nvip3AKSmxmGHKfGn7/hKJ5yjthpx98M=; b=Qhev1VwxpqEt4N4UrBor38/q+gi46Tnmh6O2fHspO3QZZvt24/h00iEHgBR/umdS+l AScAxgBD9Bi3+tUMlSJ+kaw3NM9Pyu8Nwf59Mow/KPRTGe2BUFYRegDL7ZxDH4Hh3qCU Q/rbz3balu9HvR2xgYOvN4/jvbp9r1dSljP1bSaYLzWDGiu1Xrrpp/e0+nuNqhduwgCA +HA6UDnDvpF46pjhlMq+F9eEyOMAfJr3nuge1Y3/gbd3i1wzcELOfnNHkHZ0UBwndcTr aKlZHOBUvVhI9Y7KEw5uIykssciW/KfJKoeBaDUilMgwNt1tLRT09wKGrVt7jQubewgi 5Aag== 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=iixsgNYiTG/Nvip3AKSmxmGHKfGn7/hKJ5yjthpx98M=; b=apZFWMdEpZ5vL09c6GHRYXMf+ISSUUPLZYlE4Okfdd1mYK4X+I5f+7Lq5fP/1fzy18 5A4InUAz7m6zpQg5Q+FZVOy6C+f/OcslBJVD41z8XUhqoLNidmZi/KU3npL9u2ojfzjc ryecXeAZNypGY7zY+amLt6k63Q4sA2Zco9GTptD8pQVO4fEd9XEIyEty4pX0q5O0ilmT +PmCd95Qod/834ZQOvzi5l4sRSoyyv48o55HI2BWd9U04NXuLOutd+ZSYMxefz/TNVNh 4jgSRuyvApsdaEPb2MN+yrm8DWtpsy89HgCGIV0EcerTH3flgOumaMQsKv/+69lhs3uJ f7gQ== X-Gm-Message-State: AA6/9RmbkAAP1XbKGOCpj5vYRin+0lY/6HM6dEZhl8XqNh7Lp8UpZPGffy38Q2RwYcWN89Opq7vJoWG08IfW6A== X-Received: by 10.28.139.145 with SMTP id n139mr6754965wmd.125.1475433118777; Sun, 02 Oct 2016 11:31:58 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.69.84 with HTTP; Sun, 2 Oct 2016 11:31:58 -0700 (PDT) From: Adriano Pallavicino Date: Sun, 2 Oct 2016 20:31:58 +0200 X-Google-Sender-Auth: q0hk9ocXcVrw-f2fLv39TnllONs Message-ID: To: FFmpeg development discussions and patches X-Content-Filtered-By: Mailman/MimeDel 2.1.20 Subject: [FFmpeg-devel] [PATCH 1/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 0a13315b4dd55ceb6da28fbbafa7d80b81d94794 Mon Sep 17 00:00:00 2001 From: Adriano Pallavicino Date: Sun, 2 Oct 2016 20:27:23 +0200 Subject: [PATCH] Fix warning misleading indentation ivi_dsp.c line 552 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit libavcodec/ivi_dsp.c:552:11: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation] } else ^~~~ libavcodec/ivi_dsp.c:555: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 bc9de1a..99a7ad5 100644 --- a/libavcodec/ivi_dsp.c +++ b/libavcodec/ivi_dsp.c @@ -552,8 +552,8 @@ void ff_ivi_inverse_slant_8x8(const int32_t *in, int16_t *out, uint32_t pitch, c } else dst[0] = dst[8] = dst[16] = dst[24] = dst[32] = dst[40] = dst[48] = dst[56] = 0; - src++; - dst++; + src++; + dst++; } #undef COMPENSATE -- 2.7.4