[Ffmpeg-devel] [PATCH] av_log Doxygen docs

Michel Bardiaux mbardiaux
Mon Feb 19 18:32:19 CET 2007


Panagiotis Issaris wrote:
[snip]
>  
> +/**
> + * Send the specified message to the log if the level is higher than the current

... level is higher than or equal to ...

> + * av_log_level. By default, all logging messages are sent to stderr. This
> + * behavior can be altered by setting a different av_vlog callback function.
> + *
> + * @param avcl The AVClass which provides context for the message

No, you pass the address of any structure which has an AVClass* as first 
field. Currently, an AVCodecContext* or AVFormatContext*.

> + * @param level The importance level of the message

Actually, level=0 is PANIC and 48 is DEBUG, so it is a level of 
*un*importance.

> + * @param fmt The format string that specifies how subsequent arguments are

Maybe "The format string (printf-compatible) that...".

> + * converted to output.
> + * @see av_vlog
> + */

-- 
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