summaryrefslogtreecommitdiff
path: root/libswresample
diff options
context:
space:
mode:
authorRob Sykes <robs@users.sourceforge.net>2012-12-27 11:59:55 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-12-27 11:59:55 +0100
commit03d38ee207522d8f107465cfa96601a7c77d4e82 (patch)
treee629a29aa4e2fb050c24054ffd4b3f656bb2d7a8 /libswresample
parentf2957adb23a4e895c77d78f3134a027285babb1c (diff)
downloadffmpeg-03d38ee207522d8f107465cfa96601a7c77d4e82.tar.gz
soxr_resample: soxr API parameter rename
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswresample')
-rw-r--r--libswresample/soxr_resample.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libswresample/soxr_resample.c b/libswresample/soxr_resample.c
index 3909af2ac6..15fcc83bf1 100644
--- a/libswresample/soxr_resample.c
+++ b/libswresample/soxr_resample.c
@@ -46,7 +46,7 @@ static struct ResampleContext *create(struct ResampleContext *c, int out_rate, i
soxr_io_spec_t io_spec = soxr_io_spec(type, type);
soxr_quality_spec_t q_spec = soxr_quality_spec((int)((precision-2)/4), (SOXR_HI_PREC_CLOCK|SOXR_ROLLOFF_NONE)*!!cheby);
- q_spec.bits = linear? 0 : precision;
+ q_spec.precision = linear? 0 : precision;
q_spec.bw_pc = cutoff? FFMAX(FFMIN(cutoff,.995),.8)*100 : q_spec.bw_pc;
soxr_delete((soxr_t)c);