diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2009-11-04 17:30:23 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2009-11-04 17:30:23 +0000 |
commit | 223217746c5beaa6110ce9ade2a582fc10d3d630 (patch) | |
tree | efe7304981746185c85f16c977cca8691f381e74 /libavcodec/dsputil.h | |
parent | 981b8fd777f8ea273c53a055cbbb45ad9fe872aa (diff) | |
download | ffmpeg-223217746c5beaa6110ce9ade2a582fc10d3d630.tar.gz |
Pad ff_cos_tabs and ff_sin_tabs so that index n points to the table for n bits.
While this "wastes" up to 2x32 bytes it makes the code slightly simpler and
less confusing.
Originally committed as revision 20449 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 c097461c4a..d64ef939ac 100644 --- a/libavcodec/dsputil.h +++ b/libavcodec/dsputil.h @@ -767,7 +767,7 @@ extern COSTABLE(8192); extern COSTABLE(16384); extern COSTABLE(32768); extern COSTABLE(65536); -extern COSTABLE_CONST FFTSample* const ff_cos_tabs[13]; +extern COSTABLE_CONST FFTSample* const ff_cos_tabs[17]; extern SINTABLE(16); extern SINTABLE(32); |