diff options
author | fbarchard@chromium.org <fbarchard@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-13 17:09:00 +0000 |
---|---|---|
committer | fbarchard@chromium.org <fbarchard@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-13 17:09:00 +0000 |
commit | 5caf9b2b71c331b883c3760dd4f31855b7ca2d13 (patch) | |
tree | e8d11ef301b80e6ae86fb29b72ee87ceb8a16193 /media | |
parent | f6f940eff9ff7cd676de4e231257113a74b05e72 (diff) | |
download | chromium_src-5caf9b2b71c331b883c3760dd4f31855b7ca2d13.zip chromium_src-5caf9b2b71c331b883c3760dd4f31855b7ca2d13.tar.gz chromium_src-5caf9b2b71c331b883c3760dd4f31855b7ca2d13.tar.bz2 |
Fix windows scaling bug
BUG=41294
TEST=scale a video up on windows with filtering enabled.
Review URL: http://codereview.chromium.org/1645004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44368 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media')
-rw-r--r-- | media/base/yuv_row_win.cc | 6 |
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 |