avcodec/mips: Fix a warnning of indentation not reflect the block structure.
authorShiyou Yin <yinshiyou-hf@loongson.cn>
Mon, 9 Sep 2019 03:50:51 +0000 (11:50 +0800)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 10 Sep 2019 15:21:53 +0000 (17:21 +0200)
The indentation of code dose not reflect the if block structure in
'apply_ltp_mips', and this will generate a warnning when build with
'-Wall' or '-Wmisleading-indentation'.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/mips/aacdec_mips.c

index 253cdeb..01a2b30 100644 (file)
@@ -237,9 +237,9 @@ static void apply_ltp_mips(AACContext *ac, SingleChannelElement *sce)
 
         if (ltp->lag < 1024)
             num_samples = ltp->lag + 1024;
-            j = (2048 - num_samples) >> 2;
-            k = (2048 - num_samples) & 3;
-            p_predTime = &predTime[num_samples];
+        j = (2048 - num_samples) >> 2;
+        k = (2048 - num_samples) & 3;
+        p_predTime = &predTime[num_samples];
 
         for (i = 0; i < num_samples; i++)
             predTime[i] = sce->ltp_state[i + 2048 - ltp->lag] * ltp->coef;