aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/resample.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2004-10-21 03:11:34 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-10-21 03:11:34 +0000
commited861c6bd24548f96019923c48b882e14070555d (patch)
tree4b4f409f576681c7faaacf74a61611ff246b65e7 /libavcodec/resample.c
parentf25ba8b39380d3bbe1b58b6422062427d19b787c (diff)
downloadandroid_external_ffmpeg-ed861c6bd24548f96019923c48b882e14070555d.tar.gz
android_external_ffmpeg-ed861c6bd24548f96019923c48b882e14070555d.tar.bz2
android_external_ffmpeg-ed861c6bd24548f96019923c48b882e14070555d.zip
make most resample filter parameters selectable at runtime
Originally committed as revision 3617 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 63371b0a1d..a5e1539993 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);
+ s->resample_context= av_resample_init(output_rate, input_rate, 16, 10, 0);
return s;
}