mirror of https://git.ffmpeg.org/ffmpeg.git
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:
parent
a736e0e5c2
commit
28e5130b5f
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue