summaryrefslogtreecommitdiff
path: root/libswresample/dither_template.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-01-10 18:07:32 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-01-10 18:07:32 +0100
commit2eec98125eadf47d81332014734569f7c1daeb60 (patch)
tree2d1d402bbb70de0e3e134becfb16af6c888a162a /libswresample/dither_template.c
parent558aa6cab7ff7d5ca444a94f8d9637f4c9259418 (diff)
swr: mark noise data for noise shaping as const
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswresample/dither_template.c')
-rw-r--r--libswresample/dither_template.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libswresample/dither_template.c b/libswresample/dither_template.c
index 4d0074b531..68b5ae42ee 100644
--- a/libswresample/dither_template.c
+++ b/libswresample/dither_template.c
@@ -23,7 +23,7 @@
ERROR
#endif
-void RENAME(swri_noise_shaping)(SwrContext *s, AudioData *dsts, const AudioData *srcs, AudioData *noises, int count){
+void RENAME(swri_noise_shaping)(SwrContext *s, AudioData *dsts, const AudioData *srcs, const AudioData *noises, int count){
int i, j, pos, ch;
int taps = s->dither.ns_taps;
float S = s->dither.ns_scale;