diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-02-14 03:23:58 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-02-14 03:24:27 +0100 |
commit | 1fbd905bbb4ca4c8e15030bb80b6188ef4b0e135 (patch) | |
tree | 4820684e5e6d06aba96da481e2116d8050e0574d /libswscale | |
parent | 148d1f47991518ca62c248ecbe5eff9037e142f0 (diff) | |
parent | 771bab7f573fdb4a5c9456ecaabf15c5a14a22b0 (diff) | |
download | ffmpeg-1fbd905bbb4ca4c8e15030bb80b6188ef4b0e135.tar.gz |
Merge remote-tracking branch 'qatar/master'
* qatar/master:
swscale: fix crashes in yuv2yuvX on x86-32.
sunrast: Add fate test for gray8.
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswscale')
-rw-r--r-- | libswscale/x86/output.asm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libswscale/x86/output.asm b/libswscale/x86/output.asm index 3b8e56d2bd..646a11dbab 100644 --- a/libswscale/x86/output.asm +++ b/libswscale/x86/output.asm @@ -59,7 +59,7 @@ SECTION .text %macro yuv2planeX_fn 3 %if ARCH_X86_32 -%define cntr_reg filterq +%define cntr_reg fltsizeq %define movsx mov %else %define cntr_reg r11 @@ -146,7 +146,7 @@ cglobal yuv2planeX_%1, %3, 7, %2, filter, fltsize, src, dst, w, dither, offset mova m1, [yuv2yuvX_%1_start] mova m2, m1 %endif ; %1 == 8/9/10/16 - movsx cntr_reg, fltsizem + movsx cntr_reg, r1m ; FIXME should be fltsizem, but the assembler does the wrong thing b/c of SUB above .filterloop_ %+ %%i: ; input pixels mov r6, [srcq+gprsize*cntr_reg-2*gprsize] |