aboutsummaryrefslogtreecommitdiffstats
path: root/libavdevice/dshow_enumpins.c
diff options
context:
space:
mode:
authorJun Zhao <mypopydev@gmail.com>2018-09-18 14:57:49 +0800
committerJun Zhao <jun.zhao@intel.com>2018-10-06 21:30:18 +0800
commit5a3ce4a92b84cded3aab7ffd7fb80e0c9130e74c (patch)
treebc7165906b625876878cd83e4023c22163d7d970 /libavdevice/dshow_enumpins.c
parent6ff4473012bc0131a3a47ff613c3c0aa5ecb1881 (diff)
downloadffmpeg-5a3ce4a92b84cded3aab7ffd7fb80e0c9130e74c.tar.gz
lavfi/deshake: fix deshake crash issue.
Fixes ticket #7441. for block contrast calculate, the block is like this: |<---------------- stride-----------------------| +-----------------------------------------------> X | | w = 16 | (cx,cy)+------+ | | | |h=blocksize| | | | | | +------+ V Y so we calc the block contrast use: (cy + y) * stride + (cx + x) Signed-off-by: Jun Zhao <mypopydev@gmail.com>
Diffstat (limited to 'libavdevice/dshow_enumpins.c')
0 files changed, 0 insertions, 0 deletions