diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2007-12-02 21:12:43 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2007-12-02 21:12:43 +0000 |
commit | b639896915100d2009c2708b116566a37a17273f (patch) | |
tree | d69303f13950359a53255f050a218ca40b0936b8 /libavcodec/dca.c | |
parent | 5db3c3bc0301298619504c2d3ba2305851afe169 (diff) | |
download | ffmpeg-b639896915100d2009c2708b116566a37a17273f.tar.gz |
Use the correct "const float *" type for variable instead of casting const away.
Originally committed as revision 11136 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dca.c')
-rw-r--r-- | libavcodec/dca.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/dca.c b/libavcodec/dca.c index e99dac0266..c237cc9a50 100644 --- a/libavcodec/dca.c +++ b/libavcodec/dca.c @@ -646,7 +646,7 @@ static void qmf_32_subbands(DCAContext * s, int chans, 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 @@ static void qmf_32_subbands(DCAContext * s, int chans, /* 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++) { |