Commit e99f8d32 authored by Reimar Döffinger's avatar Reimar Döffinger

Do not use puts, it adds additional newlines making the generated files

needlessly ugly.

Originally committed as revision 22623 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent c787cb33
...@@ -43,10 +43,9 @@ int main(int argc, char *argv[]) ...@@ -43,10 +43,9 @@ int main(int argc, char *argv[])
tableinit(); tableinit();
for (i = 0; tables[i].declaration; i++) { for (i = 0; tables[i].declaration; i++) {
puts(tables[i].declaration); printf("%s = {\n", tables[i].declaration);
puts(" = {\n");
tables[i].printfunc(tables[i].data, tables[i].size, tables[i].size2); tables[i].printfunc(tables[i].data, tables[i].size, tables[i].size2);
puts("};\n"); printf("};\n");
} }
return 0; return 0;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment