diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2010-03-21 16:29:08 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2010-03-21 16:29:08 +0000 |
commit | e99f8d32e25f2f9fa9f29be752e2bb2004ff294b (patch) | |
tree | c3ad76651331b23e6b804c099408d79b5a950506 /libavcodec/tableprint.c | |
parent | c787cb339ed7b49a303b7d8b7a5197b38e89c7c3 (diff) | |
download | ffmpeg-e99f8d32e25f2f9fa9f29be752e2bb2004ff294b.tar.gz |
Do not use puts, it adds additional newlines making the generated files
needlessly ugly.
Originally committed as revision 22623 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/tableprint.c')
-rw-r--r-- | libavcodec/tableprint.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libavcodec/tableprint.c b/libavcodec/tableprint.c index c2fbf0e74a..2d8cc419e4 100644 --- a/libavcodec/tableprint.c +++ b/libavcodec/tableprint.c @@ -43,10 +43,9 @@ int main(int argc, char *argv[]) tableinit(); for (i = 0; tables[i].declaration; i++) { - puts(tables[i].declaration); - puts(" = {\n"); + printf("%s = {\n", tables[i].declaration); tables[i].printfunc(tables[i].data, tables[i].size, tables[i].size2); - puts("};\n"); + printf("};\n"); } return 0; } |