23 #include <wels/codec_api.h>
24 #include <wels/codec_ver.h>
34 if (libopenh264_log_level >= WELS_LOG_DETAIL)
return AV_LOG_TRACE;
35 else if (libopenh264_log_level >= WELS_LOG_DEBUG)
return AV_LOG_DEBUG;
36 else if (libopenh264_log_level >= WELS_LOG_INFO)
return AV_LOG_VERBOSE;
37 else if (libopenh264_log_level >= WELS_LOG_WARNING)
return AV_LOG_WARNING;
38 else if (libopenh264_log_level >= WELS_LOG_ERROR)
return AV_LOG_ERROR;
47 av_log(
ctx, equiv_ffmpeg_log_level,
"%s\n", msg);
55 #if !defined(_WIN32) || !defined(__GNUC__) || !ARCH_X86_32 || AV_GCC_VERSION_AT_LEAST(4, 7)
56 OpenH264Version libver = WelsGetCodecVersion();
57 if (memcmp(&libver, &g_stCodecVersion,
sizeof(libver))) {