Replace some printf() with puts() in tableprint.c

This gets rid of a gcc warning about non-literal format strings.

Originally committed as revision 22402 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Måns Rullgård 2010-03-09 15:56:19 +00:00
parent a736e0e5c2
commit 28e5130b5f

View File

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