comparison qdm2.c @ 2953:d7b4288ed47b libavcodec

Remove duplicated fft init
author rtognimp
date Tue, 06 Dec 2005 16:58:03 +0000
parents 767156b9aa0d
children 43f14ef874de
comparison
equal deleted inserted replaced
2952:d7be13d3ef00 2953:d7b4288ed47b
1923 alpha = 2 * M_PI * (float)i / (float)(1 << (s->fft_order - 1)); 1923 alpha = 2 * M_PI * (float)i / (float)(1 << (s->fft_order - 1));
1924 s->exptab[i].re = cos(alpha); 1924 s->exptab[i].re = cos(alpha);
1925 s->exptab[i].im = sin(alpha); 1925 s->exptab[i].im = sin(alpha);
1926 } 1926 }
1927 1927
1928 ff_fft_init(&s->fft_ctx, s->fft_order - 1, 1);
1929 qdm2_init(s); 1928 qdm2_init(s);
1930 1929
1931 // dump_context(s); 1930 // dump_context(s);
1932 return 0; 1931 return 0;
1933 } 1932 }