1
0
Fork 0
forked from len0rd/rockbox

libmad synth.c silence warnings

synth.c is using a negative offset which gcc doesn't like

equlivalent code just uses pointer math instead

Change-Id: Ia1282c5608409cdff05cd4b90c4d4b695174482a
This commit is contained in:
William Wilgus 2024-12-08 00:06:59 -05:00
parent 9eb9e4ab22
commit b14056e90f

View file

@ -863,7 +863,7 @@ void synth_full(struct mad_synth *synth, struct mad_frame const *frame,
fo = &(*filter)[1][~phase & 1][0];
D0ptr = (void*)&D[0][ p];
D1ptr = (void*)&D[0][-p];
D1ptr = (void*)D-p;
if(s & 1)
{