projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a736e0e
)
Replace some printf() with puts() in tableprint.c
author
Måns Rullgård
<mans@mansr.com>
Tue, 9 Mar 2010 15:56:19 +0000
(15:56 +0000)
committer
Må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
patch
|
blob
|
history
diff --git
a/libavcodec/tableprint.c
b/libavcodec/tableprint.c
index d715fd777baa32dc3aaa1c7960d3715dd91cc536..0a572b7eb5fad130eb6b805577772aaf390e9d4e 100644
(file)
--- 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++) {
- p
rintf
(tables[i].declaration);
- p
rintf
(" = {\n");
+ p
uts
(tables[i].declaration);
+ p
uts
(" = {\n");
tables[i].printfunc(tables[i].data, tables[i].size, tables[i].size2);
- p
rintf
("};\n");
+ p
uts
("};\n");
}
return 0;
}