diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-04-11 13:44:15 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-04-11 13:44:15 +0200 |
commit | a2c92e60639b132e291c97aff9a7e18d1a0ae049 (patch) | |
tree | e1fe6a89bfbc2ef1ccfb8e7d2f64847368e83e31 /libswresample/swresample.c | |
parent | f8a237a3074b444a8d88d92d9fcce10508479d35 (diff) | |
download | ffmpeg-a2c92e60639b132e291c97aff9a7e18d1a0ae049.tar.gz |
swr: pass context to swri_get_dither()
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 78b0355c4f..3078e87c65 100644 --- a/libswresample/swresample.c +++ b/libswresample/swresample.c @@ -527,7 +527,7 @@ static int swr_convert_internal(struct SwrContext *s, AudioData *out, int out_co return ret; if(ret) for(ch=0; ch<s->dither.ch_count; ch++) - swri_get_dither(s->dither.ch[ch], s->dither.count, 12345678913579<<ch, s->out_sample_fmt, s->int_sample_fmt, s->dither_method); + swri_get_dither(s, s->dither.ch[ch], s->dither.count, 12345678913579<<ch, s->out_sample_fmt, s->int_sample_fmt); av_assert0(s->dither.ch_count == preout->ch_count); if(s->dither_pos + out_count > s->dither.count) |