diff options
author | Vitor Sessak <vitor1001@gmail.com> | 2012-01-03 21:25:59 +0100 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2012-01-07 08:23:27 -0800 |
commit | 96219141e2b2a71fde4dca5505325d21f7cc10b7 (patch) | |
tree | a336a1fdfd594565439e135b79807acbb02a41c6 /libavcodec/mpegaudiodec.c | |
parent | 4b4acc544f9b7b8bedaae4613913e140f4430aa8 (diff) | |
download | ffmpeg-96219141e2b2a71fde4dca5505325d21f7cc10b7.tar.gz |
mpegaudiodec: Use clearer pointer math
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'libavcodec/mpegaudiodec.c')
-rw-r--r-- | libavcodec/mpegaudiodec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpegaudiodec.c b/libavcodec/mpegaudiodec.c index 1b50f9fd92..cd7b7f5053 100644 --- a/libavcodec/mpegaudiodec.c +++ b/libavcodec/mpegaudiodec.c @@ -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++) { |