diff mbox

[FFmpeg-devel,1/2] libavcodec/ivi_dsp.c: fix warning due to misleading indentation

Message ID CAHucTJvgWBjdRN2na022YPLe+Kh81MrTVDnd2GG_XkZJFDWjoQ@mail.gmail.com
State Superseded
Headers show

Commit Message

Adriano Pallavicino Oct. 2, 2016, 6:31 p.m. UTC

diff mbox

Patch

From 0a13315b4dd55ceb6da28fbbafa7d80b81d94794 Mon Sep 17 00:00:00 2001
From: Adriano Pallavicino <adriano.pallavicino@gmail.com>
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 <adriano.pallavicino@gmail.com>
---
 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