--- yv12_to_yuyv_mmx.asm 2002/03/08 02:44:50 1.1.1.1 +++ yv12_to_yuyv_mmx.asm 2004/03/22 22:36:24 1.5 @@ -81,7 +81,7 @@ mov ebx, [esp + 20 + 32] ; width mov eax, [esp + 20 + 8] ; dst_stride sub eax, ebx ; - add eax, eax ; eax = 2*(dst_stride - width) + sub eax, ebx ; eax = dst_stride - (2 * width) push eax ; [esp + 4] = dst_dif ; STACK BASE = 24 @@ -224,7 +224,7 @@ mov ebx, [esp + 20 + 32] ; width mov eax, [esp + 20 + 8] ; dst_stride sub eax, ebx ; - add eax, eax ; eax = 2*(dst_stride - width) + sub eax, ebx ; eax = dst_stride - (2 * width) push eax ; [esp + 4] = dst_dif ; STACK BASE = 24