Mercurial > mplayer.hg
diff mp_msg.h @ 32378:150df72e808f
Add a va_list version of mp_msg and use it to avoid yet another intermediate
buffer when printing FFmpeg messages in vd_ffmpeg.c
author | reimar |
---|---|
date | Sat, 09 Oct 2010 12:12:14 +0000 |
parents | aba3834b6411 |
children | 7af3e6f901fd |
line wrap: on
line diff
--- a/mp_msg.h Sat Oct 09 12:08:50 2010 +0000 +++ b/mp_msg.h Sat Oct 09 12:12:14 2010 +0000 @@ -19,6 +19,8 @@ #ifndef MPLAYER_MP_MSG_H #define MPLAYER_MP_MSG_H +#include <stdarg.h> + // defined in mplayer.c and mencoder.c extern int verbose; @@ -140,6 +142,7 @@ #include "config.h" +void mp_msg_va(int mod, int lev, const char *format, va_list va); #ifdef __GNUC__ void mp_msg(int mod, int lev, const char *format, ... ) __attribute__ ((format (printf, 3, 4))); # ifdef MP_DEBUG