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
This commit is contained in:
Reimar Döffinger
2010-03-21 16:29:08 +00:00
parent c787cb339e
commit e99f8d32e2

View File

@ -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;
} }