]> git.sesse.net Git - ffmpeg/blobdiff - libavutil/log.h
Merge commit '42ba1c51d9e843135772a3b9e5cf036a37b28bdb'
[ffmpeg] / libavutil / log.h
index 48abd4a1b91103dfcd1db9f33c87a1f10777c2f0..665c65144efdeca97558d844cfde53f2fb9366a3 100644 (file)
@@ -188,16 +188,18 @@ typedef struct AVClass {
 #define AV_LOG_MAX_OFFSET (AV_LOG_DEBUG - AV_LOG_QUIET)
 
 /**
- * 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