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
release/0.6
Reimar Döffinger 15 years ago
parent c787cb339e
commit e99f8d32e2
  1. 5
      libavcodec/tableprint.c

@ -43,10 +43,9 @@ int main(int argc, char *argv[])
tableinit();
for (i = 0; tables[i].declaration; i++) {
puts(tables[i].declaration);
puts(" = {\n");
printf("%s = {\n", tables[i].declaration);
tables[i].printfunc(tables[i].data, tables[i].size, tables[i].size2);
puts("};\n");
printf("};\n");
}
return 0;
}

Loading…
Cancel
Save