Commit 99a0813a authored by multiple authors's avatar multiple authors Committed by Michael Niedermayer

libhmpcodec/mp_msg: update to latest from mplayer

Please see mplayer svn for authorship and individual commits
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 745cb39d
...@@ -148,14 +148,16 @@ void ff_mp_msg(int mod, int lev, const char *format, ... ) __attribute__ ((forma ...@@ -148,14 +148,16 @@ void ff_mp_msg(int mod, int lev, const char *format, ... ) __attribute__ ((forma
# ifdef MP_DEBUG # ifdef MP_DEBUG
# define mp_dbg(mod,lev, args... ) ff_mp_msg(mod, lev, ## args ) # define mp_dbg(mod,lev, args... ) ff_mp_msg(mod, lev, ## args )
# else # 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 # endif
#else // not GNU C #else // not GNU C
void ff_mp_msg(int mod, int lev, const char *format, ... ); void ff_mp_msg(int mod, int lev, const char *format, ... );
# ifdef MP_DEBUG # ifdef MP_DEBUG
# define mp_dbg(mod,lev, ... ) ff_mp_msg(mod, lev, __VA_ARGS__) # define mp_dbg(mod,lev, ... ) ff_mp_msg(mod, lev, __VA_ARGS__)
# else # 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
#endif /* __GNUC__ */ #endif /* __GNUC__ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment