summaryrefslogtreecommitdiff
path: root/libswresample/dither_template.c
diff options
context:
space:
mode:
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 3388aadc56..b98391be89 100644
--- a/libswresample/dither_template.c
+++ b/libswresample/dither_template.c
@@ -30,7 +30,7 @@ void RENAME(swri_noise_shaping)(SwrContext *s, AudioData *srcs, AudioData *noise
float S_1 = s->dither.ns_scale_1;
for (ch=0; ch<srcs->ch_count; ch++) {
- const float *noise = ((const float *)noises->ch[ch]) + s->dither.dither_pos;
+ const float *noise = ((const float *)noises->ch[ch]) + s->dither.noise_pos;
DELEM *data = (DELEM*)srcs->ch[ch];
pos = s->dither.ns_pos;
for (i=0; i<count; i++) {