user selectble cutoff frequency
[ffmpeg.git] / libavcodec / resample.c
index a5e1539..02c1fd8 100644 (file)
@@ -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;
 }