Commit 96219141 authored by Vitor Sessak's avatar Vitor Sessak Committed by Ronald S. Bultje

mpegaudiodec: Use clearer pointer math

Signed-off-by: 's avatarRonald S. Bultje <rsbultje@gmail.com>
parent 4b4acc54
......@@ -1411,7 +1411,7 @@ static void compute_imdct(MPADecodeContext *s, GranuleDef *g,
}
for (j = mdct_long_end; j < sblimit; j++) {
/* select frequency inversion */
win = mdct_win[2] + ((4 * 36) & -(j & 1));
win = mdct_win[2 + (4 & -(j & 1))];
out_ptr = sb_samples + j;
for (i = 0; i < 6; i++) {
......
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