summaryrefslogtreecommitdiff
path: root/tools/cws2fws.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-05-06 16:09:26 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-05-06 16:11:50 +0200
commit3c7d3d27be985e871775a1482fb8e2014022c4d5 (patch)
tree4b21de046ae69fa34beac205bb74ec8f948f94d9 /tools/cws2fws.c
parent0a6b410edf7950afe4f27f9176d3cbd385db8261 (diff)
downloadffmpeg-3c7d3d27be985e871775a1482fb8e2014022c4d5.tar.gz
tools/cws2fws: Use a similar implementation in dbgprintf() as in ff_dlog()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'tools/cws2fws.c')
-rw-r--r--tools/cws2fws.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/cws2fws.c b/tools/cws2fws.c
index 84feda959e..d6cd2edd78 100644
--- a/tools/cws2fws.c
+++ b/tools/cws2fws.c
@@ -22,7 +22,7 @@
#ifdef DEBUG
#define dbgprintf printf
#else
-#define dbgprintf(...)
+#define dbgprintf(...) do { if (0) printf(__VA_ARGS__); } while (0)
#endif
int main(int argc, char *argv[])