Hi! Attached patch is supposed to fix an old issue with debug messages and a currently reported compilation warning that I believe also indicates a possible abort() on Windows: libavformat/hlsenc.c:1676:63: warning: unknown conversion type character 's' in format Patch untested.
Please review, Carl Eugen
From 7a1ceb3c66c477edf83a29845efe42a52452b98f Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos <ceffm...@gmail.com> Date: Sat, 21 Apr 2018 22:37:02 +0200 Subject: [PATCH] configure: Assume MSVCRT when compiling with MingW. Should fix several issues with format conversions unsupported on Windows and a compilation warning: libavformat/hlsenc.c:1676:63: warning: unknown conversion type character 's' in format --- configure | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure b/configure index dee507c..ab2f490 100755 --- a/configure +++ b/configure @@ -5304,6 +5304,7 @@ probe_libc(){ add_${pfx}cppflags -D__printf__=__gnu_printf__ test_${pfx}cpp_condition windows.h "!defined(_WIN32_WINNT) || _WIN32_WINNT < 0x0600" && add_${pfx}cppflags -D_WIN32_WINNT=0x0600 + eval ${pfx}libc_type=msvcrt elif test_${pfx}cpp_condition _mingw.h "defined __MINGW_VERSION" || test_${pfx}cpp_condition _mingw.h "defined __MINGW32_VERSION"; then eval ${pfx}libc_type=mingw32 @@ -5317,6 +5318,7 @@ probe_libc(){ add_${pfx}cppflags -D_WIN32_WINNT=0x0600 eval test \$${pfx_no_}cc_type = "gcc" && add_${pfx}cppflags -D__printf__=__gnu_printf__ + eval ${pfx}libc_type=msvcrt elif test_${pfx}cpp_condition crtversion.h "defined _VC_CRT_MAJOR_VERSION"; then eval ${pfx}libc_type=msvcrt if test_${pfx}cpp_condition crtversion.h "_VC_CRT_MAJOR_VERSION < 14"; then -- 1.7.10.4
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel