diff resample.c @ 2306:072fc321fbe6 libavcodec

make most resample filter parameters selectable at runtime
author michael
date Thu, 21 Oct 2004 03:11:34 +0000
parents 84637c6ca74e
children de38526a1f3f
line wrap: on
line diff
--- a/resample.c	Wed Oct 20 19:06:29 2004 +0000
+++ b/resample.c	Thu Oct 21 03:11:34 2004 +0000
@@ -160,7 +160,7 @@
     if(s->filter_channels>2)
       s->filter_channels = 2;
 
-    s->resample_context= av_resample_init(output_rate, input_rate);
+    s->resample_context= av_resample_init(output_rate, input_rate, 16, 10, 0);
     
     return s;
 }