diff --git a/lib/rbcodec/codecs/libmad/synth.c b/lib/rbcodec/codecs/libmad/synth.c index ebcf3d5015..e82f50dd67 100644 --- a/lib/rbcodec/codecs/libmad/synth.c +++ b/lib/rbcodec/codecs/libmad/synth.c @@ -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) {