[MPlayer-cvslog] r33917 - in trunk: codec-cfg.c libao2/ao_sun.c

Diego Biurrun diego at biurrun.de
Tue Jul 26 13:07:29 CEST 2011


On Mon, Jul 25, 2011 at 07:46:20PM +0200, Reimar Döffinger wrote:
> On Mon, Jul 25, 2011 at 01:55:39AM +0200, diego wrote:
> > 
> > Log:
> > Do not employ verbosity level MSGL_V for fatal errors.
> > 
> > --- trunk/codec-cfg.c	Mon Jul 25 01:55:38 2011	(r33916)
> > +++ trunk/codec-cfg.c	Mon Jul 25 01:55:39 2011	(r33917)
> > @@ -558,7 +558,7 @@ int parse_codec_cfg(const char *cfgfile)
> >  
> >      if ((fp = fopen(cfgfile, "r")) == NULL) {
> > -        mp_msg(MSGT_CODECCFG,MSGL_V,MSGTR_CantOpenFileError, cfgfile, strerror(errno));
> > +        mp_msg(MSGT_CODECCFG, MSGL_FATAL, MSGTR_CantOpenFileError, cfgfile, strerror(errno));
> 
> That is not at all a fatal error, quite the opposite it will
> probably make people create codecs.conf files they really should
> not have.

Yes, thanks for noticing.  I will fix this properly today.

Diego


More information about the MPlayer-cvslog mailing list