Skip to content
Snippets Groups Projects
Commit c98657a2 authored by Diego Biurrun's avatar Diego Biurrun
Browse files

Remove potentially unstable filenames from comments in generated files.

parent 8a0572b0
No related branches found
No related tags found
No related merge requests found
...@@ -54,7 +54,7 @@ int main(int argc, char *argv[]) ...@@ -54,7 +54,7 @@ int main(int argc, char *argv[])
int fixed = argc > 2 && !strcmp(argv[2], "fixed"); int fixed = argc > 2 && !strcmp(argv[2], "fixed");
double (*func)(double) = do_sin ? sin : cos; double (*func)(double) = do_sin ? sin : cos;
printf("/* This file was generated by libavcodec/costablegen */\n"); printf("/* This file was automatically generated. */\n");
printf("#define CONFIG_FFT_FLOAT %d\n", !fixed); printf("#define CONFIG_FFT_FLOAT %d\n", !fixed);
printf("#include \"libavcodec/%s\"\n", do_sin ? "rdft.h" : "fft.h"); printf("#include \"libavcodec/%s\"\n", do_sin ? "rdft.h" : "fft.h");
for (i = 4; i <= BITS; i++) { for (i = 4; i <= BITS; i++) {
......
...@@ -36,6 +36,6 @@ WRITE_2D_FUNC(uint32_t) ...@@ -36,6 +36,6 @@ WRITE_2D_FUNC(uint32_t)
WRITE_2D_FUNC(float) WRITE_2D_FUNC(float)
void write_fileheader(void) { void write_fileheader(void) {
printf("/* This file was generated by libavcodec/tableprint */\n"); printf("/* This file was automatically generated. */\n");
printf("#include <stdint.h>\n"); printf("#include <stdint.h>\n");
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment