summaryrefslogtreecommitdiffstats
path: root/media
diff options
context:
space:
mode:
Diffstat (limited to 'media')
-rw-r--r--media/base/yuv_row_win.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/media/base/yuv_row_win.cc b/media/base/yuv_row_win.cc
index 33712db..c7cf8d3 100644
--- a/media/base/yuv_row_win.cc
+++ b/media/base/yuv_row_win.cc
@@ -578,11 +578,9 @@ __asm {
mov edx, [esp + 32 + 4]
mov edi, [esp + 32 + 8]
mov ebp, [esp + 32 + 16]
- mov ebx, ebx
-
- // width = width * scaled_dx + ebx
- mov ecx, [esp + 32 + 20]
+ mov ecx, [esp + 32 + 20] // width = width * scaled_dx + ebx
imul ecx, [esp + 32 + 24]
+ xor ebx, ebx
add ecx, ebx
mov [esp + 32 + 20], ecx
jmp lscaleend