changeset 2807:cfc61eef5a66

bugfix nick why did u remove the #if 0 around that code without testing it?
author michael
date Sun, 11 Nov 2001 01:14:09 +0000
parents cbb62e07bc0e
children a78ac799a300
files libvo/osd.c libvo/osd_template.c
diffstat 2 files changed, 8 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/osd.c	Sun Nov 11 00:50:40 2001 +0000
+++ b/libvo/osd.c	Sun Nov 11 01:14:09 2001 +0000
@@ -126,20 +126,20 @@
 		"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"
--- a/libvo/osd_template.c	Sun Nov 11 00:50:40 2001 +0000
+++ b/libvo/osd_template.c	Sun Nov 11 01:14:09 2001 +0000
@@ -126,20 +126,20 @@
 		"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"