diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2014-04-03 13:51:48 +0000 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2014-04-03 18:43:24 +0200 |
commit | 42ba1c51d9e843135772a3b9e5cf036a37b28bdb (patch) | |
tree | 61c08ea04928232f35aa915974e14e60bcbf2746 /libavutil | |
parent | 28b9ac4e48f3405a82e8e87ead336188215cf1e6 (diff) | |
download | ffmpeg-42ba1c51d9e843135772a3b9e5cf036a37b28bdb.tar.gz |
log: Document AV_LOG_C usage
And move outside the wrong doxygen group.
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/log.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/libavutil/log.h b/libavutil/log.h index 2f7811c072..4e4424a553 100644 --- a/libavutil/log.h +++ b/libavutil/log.h @@ -144,16 +144,18 @@ typedef struct AVClass { #define AV_LOG_DEBUG 48 /** - * Sets additional colors for extended debugging sessions. - * Requires 256color terminal support. Use outside debugging is not - * recommended. + * @} */ -#define AV_LOG_C(x) (x << 8) - /** - * @} + * Sets additional colors for extended debugging sessions. + * @code + av_log(ctx, AV_LOG_DEBUG|AV_LOG_C(134), "Message in purple\n"); + @endcode + * Requires 256color terminal support. Uses outside debugging is not + * recommended. */ +#define AV_LOG_C(x) (x << 8) /** * Send the specified message to the log if the level is less than or equal |