Mercurial > libavcodec.hg
diff dsputil.h @ 10492:63910f7ba293 libavcodec
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.
author | reimar |
---|---|
date | Wed, 04 Nov 2009 17:30:23 +0000 |
parents | 546b7ebeaf07 |
children | 74b0c1a0851e |
line wrap: on
line diff
--- a/dsputil.h Tue Nov 03 22:50:02 2009 +0000 +++ b/dsputil.h Wed Nov 04 17:30:23 2009 +0000 @@ -767,7 +767,7 @@ 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);