X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavutil%2Flog.h;fp=libavutil%2Flog.h;h=48abd4a1b91103dfcd1db9f33c87a1f10777c2f0;hb=c16e00618122a7f1217f5174a6c4013eb57421b0;hp=f16e38221b42a9c53439df2cf9cbe53a7d01ec8d;hpb=061e340c05bde91ac988677e47bc562b04be5c20;p=ffmpeg diff --git a/libavutil/log.h b/libavutil/log.h index f16e38221b4..48abd4a1b91 100644 --- a/libavutil/log.h +++ b/libavutil/log.h @@ -187,6 +187,14 @@ 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) + /** * @} */