summaryrefslogtreecommitdiffstats
path: root/libmpcodecs
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-03-13 17:02:15 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-03-13 17:02:15 +0000
commit2af2550175ced5cf5f4e8a3cd37f1940e5a49683 (patch)
tree27936dfe8f19b043c75f6a636f45bab72d1dfde4 /libmpcodecs
parentdb0be495091fa8b4cf64f5d0fb36a20d31fba232 (diff)
downloadmpv-2af2550175ced5cf5f4e8a3cd37f1940e5a49683.tar.bz2
mpv-2af2550175ced5cf5f4e8a3cd37f1940e5a49683.tar.xz
Add missing ecx clobber in diff_MMX code (yes, that function is duplicated).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28940 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs')
-rw-r--r--libmpcodecs/vf_decimate.c2
-rw-r--r--libmpcodecs/vf_divtc.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libmpcodecs/vf_decimate.c b/libmpcodecs/vf_decimate.c
index e1cea34ae3..676c97b2e3 100644
--- a/libmpcodecs/vf_decimate.c
+++ b/libmpcodecs/vf_decimate.c
@@ -55,7 +55,7 @@ static int diff_MMX(unsigned char *old, unsigned char *new, int os, int ns)
"emms \n\t"
:
: "S" (old), "D" (new), "a" ((long)os), "b" ((long)ns), "d" (out)
- : "memory"
+ : "%ecx", "memory"
);
return out[0]+out[1]+out[2]+out[3];
}
diff --git a/libmpcodecs/vf_divtc.c b/libmpcodecs/vf_divtc.c
index 1d55dc1eed..f84ae2e5a0 100644
--- a/libmpcodecs/vf_divtc.c
+++ b/libmpcodecs/vf_divtc.c
@@ -69,7 +69,7 @@ static int diff_MMX(unsigned char *old, unsigned char *new, int os, int ns)
"emms \n\t"
:
: "S" (old), "D" (new), "a" ((long)os), "b" ((long)ns), "d" (out)
- : "memory"
+ : "%ecx", "memory"
);
return out[0]+out[1]+out[2]+out[3];
}