Replace some printf() with puts() in tableprint.c
authorMåns Rullgård <mans@mansr.com>
Tue, 9 Mar 2010 15:56:19 +0000 (15:56 +0000)
committerMåns Rullgård <mans@mansr.com>
Tue, 9 Mar 2010 15:56:19 +0000 (15:56 +0000)
This gets rid of a gcc warning about non-literal format strings.

Originally committed as revision 22402 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/tableprint.c

index d715fd7..0a572b7 100644 (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;
 }