Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/mpc-hc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@users.sourceforge.net>2010-05-21 19:24:29 +0400
committerXhmikosR <xhmikosr@users.sourceforge.net>2010-05-21 19:24:29 +0400
commit55c5894d725662a782bd7aeacfa3b7fd32d9f2f2 (patch)
tree811d3b2b70f2fba237c7623a01ba242a2d129424 /src/filters/transform/vsfilter
parentaec603645c5729342fd95d598fefe8e7875075a2 (diff)
vsfilter x64 compilation fix
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@1916 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/filters/transform/vsfilter')
-rw-r--r--src/filters/transform/vsfilter/Scale2x.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/filters/transform/vsfilter/Scale2x.cpp b/src/filters/transform/vsfilter/Scale2x.cpp
index ef88d7cec..739ab95a7 100644
--- a/src/filters/transform/vsfilter/Scale2x.cpp
+++ b/src/filters/transform/vsfilter/Scale2x.cpp
@@ -320,6 +320,10 @@ void Scale2x_RGB24( int w, int h, BYTE* d, int dpitch, BYTE* s, int spitch )
void Scale2x_XRGB32( int w, int h, BYTE* d, int dpitch, BYTE* s, int spitch )
{
+#ifdef WIN64
+ bool fSSE2 = !!(g_cpuid.m_flags & CCpuID::sse2);
+#endif
+
BYTE* s1;
BYTE* s2;
BYTE* d1;