aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-03-09 15:56:19 +0000
committerMåns Rullgård <mans@mansr.com>2010-03-09 15:56:19 +0000
commit28e5130b5fac6991a21844639c83848675085356 (patch)
tree6b5f8088305221b5960cf49bd5098cf007a16b2b
parenta736e0e5c2f287d9533b3856a1c7714ae50f349c (diff)
downloadffmpeg-28e5130b5fac6991a21844639c83848675085356.tar.gz
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
-rw-r--r--libavcodec/tableprint.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/tableprint.c b/libavcodec/tableprint.c
index d715fd777b..0a572b7eb5 100644
--- a/libavcodec/tableprint.c
+++ b/libavcodec/tableprint.c
@@ -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;
}