summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authormichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-11-11 01:14:09 +0000
committermichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-11-11 01:14:09 +0000
commit20d9b4ff45af37cf5f20cb6aed6e3d4636a0d43b (patch)
tree102686a2f81b19c3d1c0b5ccfa27b893b8caff9f /libvo
parent7c90427a5c74cc446835c03f36da6ab6e2ede669 (diff)
downloadmpv-20d9b4ff45af37cf5f20cb6aed6e3d4636a0d43b.tar.bz2
mpv-20d9b4ff45af37cf5f20cb6aed6e3d4636a0d43b.tar.xz
bugfix
nick why did u remove the #if 0 around that code without testing it? git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2808 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/osd.c8
-rw-r--r--libvo/osd_template.c8
2 files changed, 8 insertions, 8 deletions
diff --git a/libvo/osd.c b/libvo/osd.c
index 55c23dfb32..b44c56b676 100644
--- a/libvo/osd.c
+++ b/libvo/osd.c
@@ -126,20 +126,20 @@ void vo_draw_alpha_rgb32(int w,int h, unsigned char* src, unsigned char *srca, i
"movb (%1, %%eax), %%bl \n\t"
"cmpb $0, %%bl \n\t"
" jz 2f \n\t"
- "movzxb (%2, %%eax), %%edx \n\t"
+ "movzbl (%2, %%eax), %%edx \n\t"
"shll $8, %%edx \n\t"
"decb %%bl \n\t"
- "movzxb (%0, %%eax, 4), %%ecx \n\t"
+ "movzbl (%0, %%eax, 4), %%ecx \n\t"
"imull %%ebx, %%ecx \n\t"
"addl %%edx, %%ecx \n\t"
"movb %%ch, (%0, %%eax, 4) \n\t"
- "movzxb 1(%0, %%eax, 4), %%ecx \n\t"
+ "movzbl 1(%0, %%eax, 4), %%ecx \n\t"
"imull %%ebx, %%ecx \n\t"
"addl %%edx, %%ecx \n\t"
"movb %%ch, 1(%0, %%eax, 4) \n\t"
- "movzxb 2(%0, %%eax, 4), %%ecx \n\t"
+ "movzbl 2(%0, %%eax, 4), %%ecx \n\t"
"imull %%ebx, %%ecx \n\t"
"addl %%edx, %%ecx \n\t"
"movb %%ch, 2(%0, %%eax, 4) \n\t"
diff --git a/libvo/osd_template.c b/libvo/osd_template.c
index 55c23dfb32..b44c56b676 100644
--- a/libvo/osd_template.c
+++ b/libvo/osd_template.c
@@ -126,20 +126,20 @@ void vo_draw_alpha_rgb32(int w,int h, unsigned char* src, unsigned char *srca, i
"movb (%1, %%eax), %%bl \n\t"
"cmpb $0, %%bl \n\t"
" jz 2f \n\t"
- "movzxb (%2, %%eax), %%edx \n\t"
+ "movzbl (%2, %%eax), %%edx \n\t"
"shll $8, %%edx \n\t"
"decb %%bl \n\t"
- "movzxb (%0, %%eax, 4), %%ecx \n\t"
+ "movzbl (%0, %%eax, 4), %%ecx \n\t"
"imull %%ebx, %%ecx \n\t"
"addl %%edx, %%ecx \n\t"
"movb %%ch, (%0, %%eax, 4) \n\t"
- "movzxb 1(%0, %%eax, 4), %%ecx \n\t"
+ "movzbl 1(%0, %%eax, 4), %%ecx \n\t"
"imull %%ebx, %%ecx \n\t"
"addl %%edx, %%ecx \n\t"
"movb %%ch, 1(%0, %%eax, 4) \n\t"
- "movzxb 2(%0, %%eax, 4), %%ecx \n\t"
+ "movzbl 2(%0, %%eax, 4), %%ecx \n\t"
"imull %%ebx, %%ecx \n\t"
"addl %%edx, %%ecx \n\t"
"movb %%ch, 2(%0, %%eax, 4) \n\t"