Mercurial > libavcodec.hg
changeset 5974:ae05d6d12f12 libavcodec
Use the correct "const float *" type for variable instead of casting const away.
author | reimar |
---|---|
date | Sun, 02 Dec 2007 21:12:43 +0000 |
parents | 94f4e36639ae |
children | 04f8a627587b |
files | dca.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/dca.c Sun Dec 02 21:11:43 2007 +0000 +++ b/dca.c Sun Dec 02 21:12:43 2007 +0000 @@ -646,7 +646,7 @@ float samples_in[32][8], float *samples_out, float scale, float bias) { - float *prCoeff; + const float *prCoeff; int i, j, k; float praXin[33], *raXin = &praXin[1]; @@ -659,9 +659,9 @@ /* Select filter */ if (!s->multirate_inter) /* Non-perfect reconstruction */ - prCoeff = (float *) fir_32bands_nonperfect; + prCoeff = fir_32bands_nonperfect; else /* Perfect reconstruction */ - prCoeff = (float *) fir_32bands_perfect; + prCoeff = fir_32bands_perfect; /* Reconstructed channel sample index */ for (subindex = 0; subindex < 8; subindex++) {