mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-28 13:40:55 +00:00
mpegaudiodec: Use clearer pointer math
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
This commit is contained in:
parent
4b4acc544f
commit
96219141e2
@ -1411,7 +1411,7 @@ static void compute_imdct(MPADecodeContext *s, GranuleDef *g,
|
|||||||
}
|
}
|
||||||
for (j = mdct_long_end; j < sblimit; j++) {
|
for (j = mdct_long_end; j < sblimit; j++) {
|
||||||
/* select frequency inversion */
|
/* select frequency inversion */
|
||||||
win = mdct_win[2] + ((4 * 36) & -(j & 1));
|
win = mdct_win[2 + (4 & -(j & 1))];
|
||||||
out_ptr = sb_samples + j;
|
out_ptr = sb_samples + j;
|
||||||
|
|
||||||
for (i = 0; i < 6; i++) {
|
for (i = 0; i < 6; i++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user