[Ffmpeg-cvslog] r8225 - in trunk/libavutil: log.c log.h

takis subversion
Mon Mar 5 00:04:49 CET 2007


Author: takis
Date: Mon Mar  5 00:04:49 2007
New Revision: 8225

Modified:
   trunk/libavutil/log.c
   trunk/libavutil/log.h

Log:
Move the unaltered Doxygen docs from the log source code to the accompanying
header file.


Modified: trunk/libavutil/log.c
==============================================================================
--- trunk/libavutil/log.c	(original)
+++ trunk/libavutil/log.c	Mon Mar  5 00:04:49 2007
@@ -51,20 +51,6 @@ static void (*av_log_callback)(void*, in
 void (*av_vlog)(void*, int, const char*, va_list) = av_log_default_callback;
 #endif
 
-/**
- * Send the specified message to the log if the level is less than or equal to
- * the current 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 A pointer to an arbitrary struct of which the first field is a
- * pointer to an AVClass struct.
- * @param level The importance level of the message, lower values signifying
- * higher importance.
- * @param fmt The format string (printf-compatible) that specifies how
- * subsequent arguments are converted to output.
- * @see av_vlog
- */
 void av_log(void* avcl, int level, const char *fmt, ...)
 {
     va_list vl;

Modified: trunk/libavutil/log.h
==============================================================================
--- trunk/libavutil/log.h	(original)
+++ trunk/libavutil/log.h	Mon Mar  5 00:04:49 2007
@@ -83,6 +83,20 @@ struct AVCLASS {
 #endif
 extern int av_log_level;
 
+/**
+ * Send the specified message to the log if the level is less than or equal to
+ * the current 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 A pointer to an arbitrary struct of which the first field is a
+ * pointer to an AVClass struct.
+ * @param level The importance level of the message, lower values signifying
+ * higher importance.
+ * @param fmt The format string (printf-compatible) that specifies how
+ * subsequent arguments are converted to output.
+ * @see av_vlog
+ */
 #ifdef __GNUC__
 extern void av_log(void*, int level, const char *fmt, ...) __attribute__ ((__format__ (__printf__, 3, 4)));
 #else




More information about the ffmpeg-cvslog mailing list