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

Zuxy Meng zuxy.meng at gmail.com
Wed Apr 9 12:50:42 CEST 2008


Hi,

2008/4/9, Reimar Döffinger <Reimar.Doeffinger at stud.uni-karlsruhe.de>:
> 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 =.

OK. msgmod renamed to msgmodule and cleaning up in the attached.
-- 
Zuxy
Beauty is truth,
While truth is beauty.
PGP KeyID: E8555ED6
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: colormod.diff
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20080409/4126e3dc/attachment.asc>


More information about the MPlayer-dev-eng mailing list