[MPlayer-dev-eng] [PATCH] Runtime colorful and/or module name output control

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Wed Apr 9 12:41:06 CEST 2008


On Wed, Apr 09, 2008 at 04:25:07PM +0800, Zuxy Meng wrote:
>  void mp_msg(int mod, int lev, const char *format, ... ){
>      va_list va;
>      char tmp[MSGSIZE_MAX];
> +    FILE *stream= (lev) <= MSGL_WARN ? stderr : stdout;
> +    static int header=1;

There are quite a few cosmetic or almost so changes in the following.
Maybe they are not worth avoiding, but then at least take the chance
to fix some more mess, like the useless () around the lev variable above
and the inconsistent placing of spaces before/after =.

Greetings,
Reimar Döffinger



More information about the MPlayer-dev-eng mailing list