Message ID | 1568001051-28633-1-git-send-email-yinshiyou-hf@loongson.cn |
---|---|
State | Accepted |
Commit | de5543d8d442759093c0e0e8beeea1e7a3ff0333 |
Headers | show |
On Mon, Sep 09, 2019 at 11:50:51AM +0800, Shiyou Yin wrote: > 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'. > --- > libavcodec/mips/aacdec_mips.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) will apply thx [...]
diff --git a/libavcodec/mips/aacdec_mips.c b/libavcodec/mips/aacdec_mips.c index 253cdeb..01a2b30 100644 --- a/libavcodec/mips/aacdec_mips.c +++ b/libavcodec/mips/aacdec_mips.c @@ -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;