[FFmpeg-devel] [PATCH 2/4] Implement ffserver.c:report_config_error() and a macro for logging error messages / updating the error count.

Stefano Sabatini stefano.sabatini-lala
Sun Apr 11 23:02:43 CEST 2010


On date Sunday 2010-04-11 21:18:23 +0100, M?ns Rullg?rd encoded:
> Stefano Sabatini <stefano.sabatini-lala at poste.it> writes:
> 
> > On date Sunday 2010-04-11 19:44:40 +0100, M?ns Rullg?rd encoded:
> >> Stefano Sabatini <stefano.sabatini-lala at poste.it> writes:
> >> 
> >> > +#define ERROR(fmt, ...) report_config_error(filename, line_num, &errors, fmt)
> >> > +#define VERROR(fmt, ...) report_config_error(filename, line_num, &errors, fmt, __VA_ARGS__)
> >> 
> >> What is the purpose of these two macros?
> >
> > Reduce the number of keys to type.
> 
> How?  One of those should be enough.

Yes you're right.
-- 
FFmpeg = Formidable & Fanciful Magnificient Patchable Extended Geek



More information about the ffmpeg-devel mailing list