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

Måns Rullgård mans
Sun Apr 11 22:18:23 CEST 2010


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.

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-devel mailing list