--- /dev/null
+diff --git a/libavutil/log.c b/libavutil/log.c
+index 5948e50467..528eaa728c 100644
+--- a/libavutil/log.c
++++ b/libavutil/log.c
+@@ -53,7 +53,7 @@ static AVMutex mutex = AV_MUTEX_INITIALIZER;
+ #define BACKTRACE_LOGLEVEL AV_LOG_ERROR
+ #endif
+
+-static int av_log_level = AV_LOG_INFO;
++static int av_log_level = AV_LOG_ERROR; // NOT WORKING for libs
+ static int flags;
+
+ #define NB_LEVELS 8
+@@ -366,14 +366,6 @@ static void (*av_log_callback)(void*, int, const char*, va_list) =
+
+ void av_log(void* avcl, int level, const char *fmt, ...)
+ {
+- AVClass* avc = avcl ? *(AVClass **) avcl : NULL;
+- va_list vl;
+- va_start(vl, fmt);
+- if (avc && avc->version >= (50 << 16 | 15 << 8 | 2) &&
+- avc->log_level_offset_offset && level >= AV_LOG_FATAL)
+- level += *(int *) (((uint8_t *) avcl) + avc->log_level_offset_offset);
+- av_vlog(avcl, level, fmt, vl);
+- va_end(vl);
+ }
+
+ void av_log_once(void* avcl, int initial_level, int subsequent_level, int *state, const char *fmt, ...)
$(PATCH)/ffmpeg/0006-ffmpeg-fix-sps-pps-for-cooli.patch; \
$(PATCH)/ffmpeg/0007-ffmpeg-reset-compressed-header-flag.patch; \
$(PATCH)/ffmpeg/0008-add-ASF-VC1-Annex-G-and-RCV-bitstream-filters.-Origi.patch; \
+ $(PATCH)/ffmpeg/0009-ffmpeg-nolog.patch; \
$(PATCH)/ffmpeg/ffmpeg-3.3_cst-allow-to-choose-rtmp-impl-at-runtime.patch; \
$(PATCH)/ffmpeg/ffmpeg-3.3_whitelist.patch; \
$(BUILDENV) \