aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil
diff options
context:
space:
mode:
authorPanagiotis Issaris <takis.issaris@uhasselt.be>2007-03-04 23:04:49 +0000
committerPanagiotis Issaris <takis.issaris@uhasselt.be>2007-03-04 23:04:49 +0000
commit3ec9a7873f69dc9cb57d585bc83a879f8b05833d (patch)
treeb98191a407d02f23530a77bc04c0a51228af4007 /libavutil
parent8fafc1cf36232bc81a1adfc4bb78c76703d2e680 (diff)
downloadffmpeg-3ec9a7873f69dc9cb57d585bc83a879f8b05833d.tar.gz
Move the unaltered Doxygen docs from the log source code to the accompanying
header file. Originally committed as revision 8225 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/log.c14
-rw-r--r--libavutil/log.h14
2 files changed, 14 insertions, 14 deletions
diff --git a/libavutil/log.c b/libavutil/log.c
index 1abc22edf1..4fd503d0de 100644
--- a/libavutil/log.c
+++ b/libavutil/log.c
@@ -51,20 +51,6 @@ static void (*av_log_callback)(void*, int, const char*, va_list) = av_log_defaul
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;
diff --git a/libavutil/log.h b/libavutil/log.h
index 56ca012890..fa88f5fb25 100644
--- a/libavutil/log.h
+++ b/libavutil/log.h
@@ -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