diff options
author | Loren Merritt <lorenm@u.washington.edu> | 2012-09-22 01:43:16 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-09-22 03:17:28 +0200 |
commit | 1b1b902e2ce19e0276bf847cc87384ec43d230e3 (patch) | |
tree | 2ab4d75f9201f5746a66e132929e52e05d985adf /libavfilter/x86 | |
parent | ea5bd7ea6f3b817bdee6355a2b93d512d2ab6bf2 (diff) | |
download | ffmpeg-1b1b902e2ce19e0276bf847cc87384ec43d230e3.tar.gz |
hqdn3d: Fix out of array read in LOWPASS
Fixes ticket1752
Commit message by commiter
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/x86')
-rw-r--r-- | libavfilter/x86/hqdn3d.asm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/x86/hqdn3d.asm b/libavfilter/x86/hqdn3d.asm index 88b9b0d034..d36ce37019 100644 --- a/libavfilter/x86/hqdn3d.asm +++ b/libavfilter/x86/hqdn3d.asm @@ -39,6 +39,7 @@ SECTION .text %endif %if %3 != 16 shl %1, 16-%3 + add %1, (1<<(15-%3))-1 %endif %endmacro @@ -86,7 +87,6 @@ ALIGN 16 mov [frameantq+xq*2], t0w movifnidn dstq, dstmp %if %1 != 16 - add t0d, (1<<(15-%1))-1 shr t0d, 16-%1 ; could eliminate this by storing from t0h, but only with some contraints on register allocation %endif %if %1 == 8 |