Commit ffb7d719 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/dcadec: use brackets to ensure that no slow division is used

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 747b0337
......@@ -1373,7 +1373,7 @@ static int dca_subsubframe(DCAContext *s, int base_channel, int block_index)
else if (s->predictor_history)
sum += adpcm_vb[s->prediction_vq[k][l]][n - 1] *
s->subband_samples_hist[k][l][m - n + 4];
subband_samples[k][l][m] += sum * 1.0f / 8192;
subband_samples[k][l][m] += sum * (1.0f / 8192);
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment