[Ffmpeg-devel] [PATCH] av_log Doxygen docs

Michel Bardiaux mbardiaux
Tue Feb 20 11:32:50 CET 2007


Panagiotis Issaris wrote:
[snip]
>>> Here's an updated patch using the imho clearest description (the second).
>> [...]
>>> + * Send the specified message to the log if the level is higher than or equal to
>>> + * the current av_log_level. By default, all logging messages are sent to
>> [...]
>>> + * @param level The importance level of the message, lower values signifying
>>> + * higher importance.
>> [...]
>>
>> lower is more important but level >= av_log_level is sent ? this cant be
>> correct
> No, I think level <= av_log_level is sent.
> 
> libavutil/log.c:
>     35     if(level>av_log_level)
>     36         return;

Aargh, sorry, I gave wrong indications. It is indeed "if the level is 
less than or equal to...".

Greetings,
-- 
Michel Bardiaux
R&D Director
T +32 [0] 2 790 29 41
F +32 [0] 2 790 29 02
E mailto:mbardiaux at mediaxim.be

Mediaxim NV/SA
Vorstlaan 191 Boulevard du Souverain
Brussel 1160 Bruxelles
http://www.mediaxim.com/




More information about the ffmpeg-devel mailing list