Mercurial > libavcodec.hg
diff dsputil.h @ 10496:74b0c1a0851e libavcodec
Add ff_init_ff_cos_tabs function and use it in rdft.c to ensure that the
necessary ff_cos_tabs tables are initialized.
Fixes issue 1507 (QDM2 broken since r20237 without hardcoded tables).
author | reimar |
---|---|
date | Thu, 05 Nov 2009 18:29:06 +0000 |
parents | 63910f7ba293 |
children | 5da7180afadf |
line wrap: on
line diff
--- a/dsputil.h Thu Nov 05 01:10:27 2009 +0000 +++ b/dsputil.h Thu Nov 05 18:29:06 2009 +0000 @@ -769,6 +769,12 @@ extern COSTABLE(65536); extern COSTABLE_CONST FFTSample* const ff_cos_tabs[17]; +/** + * Initializes the cosine table in ff_cos_tabs[index] + * \param index index in ff_cos_tabs array of the table to initialize + */ +void ff_init_ff_cos_tabs(int index); + extern SINTABLE(16); extern SINTABLE(32); extern SINTABLE(64);