summaryrefslogtreecommitdiff
path: root/libswresample/dither.c
diff options
context:
space:
mode:
Diffstat (limited to 'libswresample/dither.c')
-rw-r--r--libswresample/dither.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libswresample/dither.c b/libswresample/dither.c
index c3bb5609ed..66bf184310 100644
--- a/libswresample/dither.c
+++ b/libswresample/dither.c
@@ -118,6 +118,7 @@ int swri_dither_init(SwrContext *s, enum AVSampleFormat out_fmt, enum AVSampleFo
if (s->dither.method > SWR_DITHER_NS) {
s->dither.noise.bps = 4;
s->dither.noise.fmt = AV_SAMPLE_FMT_FLTP;
+ s->dither.noise_scale = 1;
}
return 0;