diff options
author | multiple authors <multiple@multiple.x> | 2013-02-05 13:02:00 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-02-05 13:02:28 +0100 |
commit | 99a0813a7e0b2666510db07296ada11598004ff0 (patch) | |
tree | 4a94f0855c2fed54bd535c05b1de274bd187a866 /libavfilter/libmpcodecs | |
parent | 745cb39d05580c046b1b12c4f9fb84a42eeec1f4 (diff) | |
download | ffmpeg-streaming-99a0813a7e0b2666510db07296ada11598004ff0.zip ffmpeg-streaming-99a0813a7e0b2666510db07296ada11598004ff0.tar.gz |
libhmpcodec/mp_msg: update to latest from mplayer
Please see mplayer svn for authorship and individual commits
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/libmpcodecs')
-rw-r--r-- | libavfilter/libmpcodecs/mp_msg.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libavfilter/libmpcodecs/mp_msg.h b/libavfilter/libmpcodecs/mp_msg.h index 250bfb2..51cdff3 100644 --- a/libavfilter/libmpcodecs/mp_msg.h +++ b/libavfilter/libmpcodecs/mp_msg.h @@ -148,14 +148,16 @@ void ff_mp_msg(int mod, int lev, const char *format, ... ) __attribute__ ((forma # ifdef MP_DEBUG # define mp_dbg(mod,lev, args... ) ff_mp_msg(mod, lev, ## args ) # else -# define mp_dbg(mod,lev, args... ) /* only useful for developers */ + // only useful for developers, disable but check syntax +# define mp_dbg(mod,lev, args... ) do { if (0) ff_mp_msg(mod, lev, ## args ); } while (0) # endif #else // not GNU C void ff_mp_msg(int mod, int lev, const char *format, ... ); # ifdef MP_DEBUG # define mp_dbg(mod,lev, ... ) ff_mp_msg(mod, lev, __VA_ARGS__) # else -# define mp_dbg(mod,lev, ... ) /* only useful for developers */ + // only useful for developers, disable but check syntax +# define mp_dbg(mod,lev, ... ) do { if (0) ff_mp_msg(mod, lev, __VA_ARGS__); } while (0) # endif #endif /* __GNUC__ */ |