---
 libavutil/log.h     | 9 +++------
 libavutil/version.h | 3 +++
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/libavutil/log.h b/libavutil/log.h
index ce00bcc..0fc8b9c 100644
--- a/libavutil/log.h
+++ b/libavutil/log.h
@@ -249,15 +249,12 @@ void av_log_default_callback(void *avcl, int level, const 
char *fmt,
  */
 const char* av_default_item_name(void* ctx);
 
+#if FF_API_SKIP_REPEATED
 /**
- * Skip repeated messages, this requires the user app to use av_log() instead 
of
- * (f)printf as the 2 would otherwise interfere and lead to
- * "Last message repeated x times" messages below (f)printf messages with some
- * bad luck.
- * Also to receive the last, "last repeated" line if any, the user app must
- * call av_log(NULL, AV_LOG_QUIET, ""); at the end
+ * @deprecated this flag has no effect
  */
 #define AV_LOG_SKIP_REPEATED 1
+#endif
 void av_log_set_flags(int arg);
 
 /**
diff --git a/libavutil/version.h b/libavutil/version.h
index 38e1906..a539ea1 100644
--- a/libavutil/version.h
+++ b/libavutil/version.h
@@ -96,6 +96,9 @@
 #ifndef FF_API_CRYPTO_SIZE_T
 #define FF_API_CRYPTO_SIZE_T            (LIBAVUTIL_VERSION_MAJOR < 57)
 #endif
+#ifndef FF_API_SKIP_REPEATED
+#define FF_API_SKIP_REPEATED            (LIBAVUTIL_VERSION_MAJOR < 57)
+#endif
 
 
 /**
-- 
2.0.0

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to