Commit a634c248 authored by reimar's avatar reimar

Use the correct "const float *" type for variable instead of casting const away.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@11136 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent e420715c
...@@ -646,7 +646,7 @@ static void qmf_32_subbands(DCAContext * s, int chans, ...@@ -646,7 +646,7 @@ static void qmf_32_subbands(DCAContext * s, int chans,
float samples_in[32][8], float *samples_out, float samples_in[32][8], float *samples_out,
float scale, float bias) float scale, float bias)
{ {
float *prCoeff; const float *prCoeff;
int i, j, k; int i, j, k;
float praXin[33], *raXin = &praXin[1]; float praXin[33], *raXin = &praXin[1];
...@@ -659,9 +659,9 @@ static void qmf_32_subbands(DCAContext * s, int chans, ...@@ -659,9 +659,9 @@ static void qmf_32_subbands(DCAContext * s, int chans,
/* Select filter */ /* Select filter */
if (!s->multirate_inter) /* Non-perfect reconstruction */ if (!s->multirate_inter) /* Non-perfect reconstruction */
prCoeff = (float *) fir_32bands_nonperfect; prCoeff = fir_32bands_nonperfect;
else /* Perfect reconstruction */ else /* Perfect reconstruction */
prCoeff = (float *) fir_32bands_perfect; prCoeff = fir_32bands_perfect;
/* Reconstructed channel sample index */ /* Reconstructed channel sample index */
for (subindex = 0; subindex < 8; subindex++) { for (subindex = 0; subindex < 8; subindex++) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment