[FFmpeg-cvslog] tools/cws2fws: Use a similar implementation in dbgprintf() as in ff_dlog()

Michael Niedermayer git at videolan.org
Wed May 6 16:39:45 CEST 2015


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed May  6 16:09:26 2015 +0200| [3c7d3d27be985e871775a1482fb8e2014022c4d5] | committer: Michael Niedermayer

tools/cws2fws: Use a similar implementation in dbgprintf() as in ff_dlog()

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3c7d3d27be985e871775a1482fb8e2014022c4d5
---

 tools/cws2fws.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/cws2fws.c b/tools/cws2fws.c
index 84feda9..d6cd2ed 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[])



More information about the ffmpeg-cvslog mailing list