Mercurial > libavcodec.hg
comparison dsputil.h @ 10402:06bdadf410a9 libavcodec
Do not initialize ff_cos_* tables again in rdft_init, they are already
initialized by ff_fft_init and using different code can result in slightly
different values, in addition it crashes when the tables are hardcoded.
On amd64 this slightly changes qdm2 output.
author | reimar |
---|---|
date | Thu, 15 Oct 2009 11:50:32 +0000 |
parents | 866dffa620d1 |
children | 57acce8b1380 |
comparison
equal
deleted
inserted
replaced
10401:b44eae1b1971 | 10402:06bdadf410a9 |
---|---|
838 int nbits; | 838 int nbits; |
839 int inverse; | 839 int inverse; |
840 int sign_convention; | 840 int sign_convention; |
841 | 841 |
842 /* pre/post rotation tables */ | 842 /* pre/post rotation tables */ |
843 FFTSample *tcos; | 843 const FFTSample *tcos; |
844 FFTSample *tsin; | 844 FFTSample *tsin; |
845 FFTContext fft; | 845 FFTContext fft; |
846 } RDFTContext; | 846 } RDFTContext; |
847 | 847 |
848 /** | 848 /** |