comparison resample2.c @ 4822:7ea9c6a179e8 libavcodec

Remove unused variable.
author diego
date Sun, 08 Apr 2007 13:02:25 +0000
parents 6768647cc0fd
children f99e40a7155b
comparison
equal deleted inserted replaced
4821:42eef6c711ac 4822:7ea9c6a179e8
93 * @param factor resampling factor 93 * @param factor resampling factor
94 * @param scale wanted sum of coefficients for each filter 94 * @param scale wanted sum of coefficients for each filter
95 * @param type 0->cubic, 1->blackman nuttall windowed sinc, 2..16->kaiser windowed sinc beta=2..16 95 * @param type 0->cubic, 1->blackman nuttall windowed sinc, 2..16->kaiser windowed sinc beta=2..16
96 */ 96 */
97 void av_build_filter(FELEM *filter, double factor, int tap_count, int phase_count, int scale, int type){ 97 void av_build_filter(FELEM *filter, double factor, int tap_count, int phase_count, int scale, int type){
98 int ph, i, v; 98 int ph, i;
99 double x, y, w, tab[tap_count]; 99 double x, y, w, tab[tap_count];
100 const int center= (tap_count-1)/2; 100 const int center= (tap_count-1)/2;
101 101
102 /* if upsampling, only need to interpolate, no filter */ 102 /* if upsampling, only need to interpolate, no filter */
103 if (factor > 1.0) 103 if (factor > 1.0)