[FFmpeg-cvslog] configure: Don't disable SSA Optimizer on MSVC v19.00.24218+.

Kacper Michajłow git at videolan.org
Tue Jan 17 18:56:03 EET 2017


ffmpeg | branch: master | Kacper Michajłow <kasper93 at gmail.com> | Thu Jan 12 01:02:23 2017 +0100| [2064a3b8dfd80018bb01ea30d0d7dbc5d62ddc5c] | committer: Michael Niedermayer

configure: Don't disable SSA Optimizer on MSVC v19.00.24218+.

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2064a3b8dfd80018bb01ea30d0d7dbc5d62ddc5c
---

 configure | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/configure b/configure
index 499fc92..4a30f82 100755
--- a/configure
+++ b/configure
@@ -6320,9 +6320,9 @@ EOF
     check_func strtoll || add_cflags -Dstrtoll=_strtoi64
     check_func strtoull || add_cflags -Dstrtoull=_strtoui64
     # the new SSA optimzer in VS2015 U3 is mis-optimizing some parts of the code
-    # this flag should be re-checked on newer compiler releases and put under a
-    # version check once its fixed
-    check_cflags -d2SSAOptimizer-
+    # Issue has been fixed in MSVC v19.00.24218.
+    check_cpp_condition windows.h "_MSC_FULL_VER >= 190024218" ||
+        check_cflags -d2SSAOptimizer-
 fi
 
 for pfx in "" host_; do



More information about the ffmpeg-cvslog mailing list