diff --git a/libavcodec/resample2.c b/libavcodec/resample2.c index 82eddf6562..ce7daa38a8 100644 --- a/libavcodec/resample2.c +++ b/libavcodec/resample2.c @@ -124,6 +124,42 @@ void av_build_filter(FELEM *filter, double factor, int tap_count, int phase_coun filter[ph * tap_count + i] = v; } } +#if 0 + { +#define LEN 1024 + int j,k; + double sine[LEN + tap_count]; + double filtered[LEN]; + double maxff=-2, minff=2, maxsf=-2, minsf=2; + for(i=0; i