--- branches/dev-api-3/xvidcore/src/image/x86_asm/yv12_to_yuyv_mmx.asm 2002/10/05 21:42:04 581 +++ branches/dev-api-3/xvidcore/src/image/x86_asm/yv12_to_yuyv_mmx.asm 2002/10/06 07:05:51 582 @@ -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