diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2009-10-15 11:50:32 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2009-10-15 11:50:32 +0000 |
commit | aafd659518356d1ae3624830a36816f154d94d83 (patch) | |
tree | c27103156e8aa2406714a467ab97065d55239d3d /libavcodec/dsputil.h | |
parent | 0fa0fa296a40a2e96464f6378c4ec8a0abaacc15 (diff) | |
download | ffmpeg-aafd659518356d1ae3624830a36816f154d94d83.tar.gz |
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.
Originally committed as revision 20237 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dsputil.h')
-rw-r--r-- | libavcodec/dsputil.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dsputil.h b/libavcodec/dsputil.h index 3656d1c3b5..50889bb1d1 100644 --- a/libavcodec/dsputil.h +++ b/libavcodec/dsputil.h @@ -840,7 +840,7 @@ typedef struct { int sign_convention; /* pre/post rotation tables */ - FFTSample *tcos; + const FFTSample *tcos; FFTSample *tsin; FFTContext fft; } RDFTContext; |