[FFmpeg-cvslog] r22402 - trunk/libavcodec/tableprint.c

mru subversion
Tue Mar 9 16:56:19 CET 2010


Author: mru
Date: Tue Mar  9 16:56:19 2010
New Revision: 22402

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

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

Modified:
   trunk/libavcodec/tableprint.c

Modified: trunk/libavcodec/tableprint.c
==============================================================================
--- trunk/libavcodec/tableprint.c	Tue Mar  9 16:56:16 2010	(r22401)
+++ trunk/libavcodec/tableprint.c	Tue Mar  9 16:56:19 2010	(r22402)
@@ -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;
 }



More information about the ffmpeg-cvslog mailing list