[FFmpeg-cvslog] soxr_resample: soxr API parameter rename
Rob Sykes
git at videolan.org
Thu Dec 27 12:32:03 CET 2012
ffmpeg | branch: master | Rob Sykes <robs at users.sourceforge.net> | Thu Dec 27 11:59:55 2012 +0100| [03d38ee207522d8f107465cfa96601a7c77d4e82] | committer: Michael Niedermayer
soxr_resample: soxr API parameter rename
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=03d38ee207522d8f107465cfa96601a7c77d4e82
---
libswresample/soxr_resample.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libswresample/soxr_resample.c b/libswresample/soxr_resample.c
index 3909af2..15fcc83 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);
More information about the ffmpeg-cvslog
mailing list