Commit 28e5130b authored by Måns Rullgård's avatar Måns Rullgård

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
parent a736e0e5
...@@ -65,10 +65,10 @@ int main(int argc, char *argv[]) ...@@ -65,10 +65,10 @@ int main(int argc, char *argv[])
tableinit(); tableinit();
for (i = 0; tables[i].declaration; i++) { for (i = 0; tables[i].declaration; i++) {
printf(tables[i].declaration); puts(tables[i].declaration);
printf(" = {\n"); 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);
printf("};\n"); puts("};\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