mirror of
https://github.com/xiph/opus.git
synced 2025-05-28 22:29:14 +00:00
Make the code C90-compliant
This commit is contained in:
parent
ebbf5721a2
commit
580614f062
7 changed files with 16 additions and 10 deletions
|
@ -25,6 +25,10 @@
|
|||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include <math.h>
|
||||
#include <stdio.h>
|
||||
#include "freq.h"
|
||||
|
@ -40,6 +44,10 @@ int main(void) {
|
|||
|
||||
file=fopen("lpcnet_tables.c", "wb");
|
||||
fprintf(file, "/* The contents of this file was automatically generated by dump_lpcnet_tables.c*/\n\n");
|
||||
fprintf(file, "#ifdef HAVE_CONFIG_H\n");
|
||||
fprintf(file, "#include \"config.h\"\n");
|
||||
fprintf(file, "#endif\n");
|
||||
|
||||
fprintf(file, "#include \"kiss_fft.h\"\n\n");
|
||||
|
||||
kfft = opus_fft_alloc_twiddles(WINDOW_SIZE, NULL, NULL, NULL, 0);
|
||||
|
@ -93,4 +101,4 @@ int main(void) {
|
|||
|
||||
fclose(file);
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue