summaryrefslogtreecommitdiff
path: root/libavcodec/g722dsp.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/g722dsp.c')
-rw-r--r--libavcodec/g722dsp.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libavcodec/g722dsp.c b/libavcodec/g722dsp.c
index 1fefc6b3c4..5d3aedb737 100644
--- a/libavcodec/g722dsp.c
+++ b/libavcodec/g722dsp.c
@@ -29,15 +29,15 @@ static const int16_t qmf_coeffs[12] = {
3, -11, 12, 32, -210, 951, 3876, -805, 362, -156, 53, -11,
};
-static void g722_apply_qmf(const int16_t *prev_samples, int *xout1, int *xout2)
+static void g722_apply_qmf(const int16_t *prev_samples, int xout[2])
{
int i;
- *xout1 = 0;
- *xout2 = 0;
+ xout[0] = 0;
+ xout[1] = 0;
for (i = 0; i < 12; i++) {
- MAC16(*xout2, prev_samples[2*i ], qmf_coeffs[i ]);
- MAC16(*xout1, prev_samples[2*i+1], qmf_coeffs[11-i]);
+ MAC16(xout[1], prev_samples[2*i ], qmf_coeffs[i ]);
+ MAC16(xout[0], prev_samples[2*i+1], qmf_coeffs[11-i]);
}
}