diff --git a/libavcodec/costablegen.c b/libavcodec/costablegen.c
index 65c492696be857c639eb4b9a0d8ce5536e7fc34b..6bfb8eabf26d229fb65f5dfbbc343517fc964707 100644
--- a/libavcodec/costablegen.c
+++ b/libavcodec/costablegen.c
@@ -54,7 +54,7 @@ int main(int argc, char *argv[])
     int fixed  = argc > 2 && !strcmp(argv[2], "fixed");
     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("#include \"libavcodec/%s\"\n", do_sin ? "rdft.h" : "fft.h");
     for (i = 4; i <= BITS; i++) {
diff --git a/libavcodec/tableprint.c b/libavcodec/tableprint.c
index da775256269deacaf343c6d3740eaebe46676eec..362dc24c505d7aba3d7c2b69b5942476df115849 100644
--- a/libavcodec/tableprint.c
+++ b/libavcodec/tableprint.c
@@ -36,6 +36,6 @@ WRITE_2D_FUNC(uint32_t)
 WRITE_2D_FUNC(float)
 
 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");
 }