OSDN Git Service

Don't mistakenly detect 64-Bit VapourSynth on 32-Bit-only OS.
authorlordmulder <mulder2@gmx.de>
Wed, 7 Aug 2019 19:50:52 +0000 (21:50 +0200)
committerlordmulder <mulder2@gmx.de>
Wed, 7 Aug 2019 19:50:52 +0000 (21:50 +0200)
src/thread_vapoursynth.cpp
src/version.h

index 2afed92..d708c61 100644 (file)
@@ -260,6 +260,11 @@ int VapourSynthCheckThread::threadMain(void)
 
 VapourSynthCheckThread::VapourSynthFlags VapourSynthCheckThread::getVapourSynthType(const int scope)
 {
+       if (MUtils::OS::os_architecture() != MUtils::OS::ARCH_X64)
+       {
+               return VAPOURSYNTH_X86;
+       }
+
        switch (scope)
        {
                case MUtils::Registry::scope_wow_x32:
index 6c94f3c..781c544 100644 (file)
@@ -26,7 +26,7 @@
 #define VER_X264_MAJOR 2
 #define VER_X264_MINOR 9
 #define VER_X264_PATCH 3
-#define VER_X264_BUILD 1180
+#define VER_X264_BUILD 1181
 
 #define VER_X264_PORTABLE_EDITION (0)