Mercurial > libavcodec.hg
comparison tableprint.c @ 11442:fe32d9ba1c86 libavcodec
Replace some printf() with puts() in tableprint.c
This gets rid of a gcc warning about non-literal format strings.
author | mru |
---|---|
date | Tue, 09 Mar 2010 15:56:19 +0000 |
parents | 3d011a01a6a0 |
children | 62da6bfd50fd |
comparison
equal
deleted
inserted
replaced
11441:08cf37a058f4 | 11442:fe32d9ba1c86 |
---|---|
63 printf("/* This file was generated by libavcodec/tableprint */\n"); | 63 printf("/* This file was generated by libavcodec/tableprint */\n"); |
64 printf("#include <stdint.h>\n"); | 64 printf("#include <stdint.h>\n"); |
65 tableinit(); | 65 tableinit(); |
66 | 66 |
67 for (i = 0; tables[i].declaration; i++) { | 67 for (i = 0; tables[i].declaration; i++) { |
68 printf(tables[i].declaration); | 68 puts(tables[i].declaration); |
69 printf(" = {\n"); | 69 puts(" = {\n"); |
70 tables[i].printfunc(tables[i].data, tables[i].size, tables[i].size2); | 70 tables[i].printfunc(tables[i].data, tables[i].size, tables[i].size2); |
71 printf("};\n"); | 71 puts("};\n"); |
72 } | 72 } |
73 return 0; | 73 return 0; |
74 } | 74 } |