aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/dsputil.h
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2009-11-04 17:30:23 +0000
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2009-11-04 17:30:23 +0000
commit223217746c5beaa6110ce9ade2a582fc10d3d630 (patch)
treeefe7304981746185c85f16c977cca8691f381e74 /libavcodec/dsputil.h
parent981b8fd777f8ea273c53a055cbbb45ad9fe872aa (diff)
downloadffmpeg-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.h2
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);