summaryrefslogtreecommitdiff
path: root/libavcodec/resample.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2004-10-21 21:07:40 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-10-21 21:07:40 +0000
commit6e225de2fe1d4babb7dc15f436711777c1a2b03f (patch)
treeb42ead4277aacdccdea62d0c3dc6ba26dc7e604e /libavcodec/resample.c
parent4e255822e5119755c57c5d9498163ad3627b8ef5 (diff)
downloadffmpeg-6e225de2fe1d4babb7dc15f436711777c1a2b03f.tar.gz
user selectble cutoff frequency
Originally committed as revision 3619 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/resample.c')
-rw-r--r--libavcodec/resample.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/resample.c b/libavcodec/resample.c
index a5e1539993..02c1fd8fe6 100644
--- a/libavcodec/resample.c
+++ b/libavcodec/resample.c
@@ -160,7 +160,7 @@ ReSampleContext *audio_resample_init(int output_channels, int input_channels,
if(s->filter_channels>2)
s->filter_channels = 2;
- s->resample_context= av_resample_init(output_rate, input_rate, 16, 10, 0);
+ s->resample_context= av_resample_init(output_rate, input_rate, 16, 10, 0, 1.0);
return s;
}