diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-01-09 23:20:24 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-01-09 23:28:09 +0100 |
commit | 6908ded20e8040a48f6e281e665aabd6b1066a9e (patch) | |
tree | 35feaa42000c10e0e17d4dfa99efc33631e4d7ec /libswresample/swresample.c | |
parent | 3ef06f3415a4693c435bd72a59fedaf4d325a5d9 (diff) | |
download | ffmpeg-6908ded20e8040a48f6e281e665aabd6b1066a9e.tar.gz |
swr: fix the noise sample type for noise shaping
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswresample/swresample.c')
-rw-r--r-- | libswresample/swresample.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libswresample/swresample.c b/libswresample/swresample.c index 5e0e4aa403..b311419409 100644 --- a/libswresample/swresample.c +++ b/libswresample/swresample.c @@ -654,7 +654,7 @@ static int swr_convert_internal(struct SwrContext *s, AudioData *out, int out_co return ret; if(ret) for(ch=0; ch<s->dither.noise.ch_count; ch++) - swri_get_dither(s, s->dither.noise.ch[ch], s->dither.noise.count, 12345678913579<<ch, s->out_sample_fmt, s->int_sample_fmt); + swri_get_dither(s, s->dither.noise.ch[ch], s->dither.noise.count, 12345678913579<<ch, s->dither.noise.fmt); av_assert0(s->dither.noise.ch_count == preout->ch_count); if(s->dither.dither_pos + out_count > s->dither.noise.count) |