summaryrefslogtreecommitdiff
path: root/libswresample/dither_template.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-01-10 18:01:26 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-01-10 18:01:26 +0100
commitfca51256d4f4b432f551d24b20570cc79a34d1f8 (patch)
tree878669b7ff96ee6a19358854cb400a45bcfc403f /libswresample/dither_template.c
parent36055aa8764510b3d1803a9ac304960685d385a9 (diff)
swr: rename dither_pos to noise_pos
THis more closely matches what the field represents 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 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++) {