diff options
author | Lou Logan <lou@lrcd.com> | 2014-06-03 06:46:04 +0400 |
---|---|---|
committer | Lou Logan <lou@lrcd.com> | 2014-06-03 22:58:19 +0400 |
commit | 88f2586adbcdcb350b2923a82bcb07c5a519bd1d (patch) | |
tree | d4c93e604c90148368ae9c3327be9839c33f3c27 /libavfilter/vf_smartblur.c | |
parent | 137c5e115b0f1bff1867a3a09f3a2f14cfda2fb5 (diff) |
fix various typos
Signed-off-by: Lou Logan <lou@lrcd.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/vf_smartblur.c')
-rw-r--r-- | libavfilter/vf_smartblur.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavfilter/vf_smartblur.c b/libavfilter/vf_smartblur.c index 114ac6f6da..b09ec90ec0 100644 --- a/libavfilter/vf_smartblur.c +++ b/libavfilter/vf_smartblur.c @@ -201,7 +201,7 @@ static void blur(uint8_t *dst, const int dst_linesize, if (diff > 2 * threshold) dst[x + y * dst_linesize] = orig; else if (diff > threshold) - /* add 'diff' and substract 'threshold' from 'filtered' */ + /* add 'diff' and subtract 'threshold' from 'filtered' */ dst[x + y * dst_linesize] = orig - threshold; } else { if (-diff > 2 * threshold) @@ -223,13 +223,13 @@ static void blur(uint8_t *dst, const int dst_linesize, if (diff <= -threshold) dst[x + y * dst_linesize] = orig; else if (diff <= -2 * threshold) - /* substract 'diff' and 'threshold' from 'orig' */ + /* subtract 'diff' and 'threshold' from 'orig' */ dst[x + y * dst_linesize] = filtered - threshold; } else { if (diff >= threshold) dst[x + y * dst_linesize] = orig; else if (diff >= 2 * threshold) - /* add 'threshold' and substract 'diff' from 'orig' */ + /* add 'threshold' and subtract 'diff' from 'orig' */ dst[x + y * dst_linesize] = filtered + threshold; } } |