diff options
author | Lou Logan <lou@lrcd.com> | 2014-06-02 18:46:04 -0800 |
---|---|---|
committer | Lou Logan <lou@lrcd.com> | 2014-06-03 10:58:19 -0800 |
commit | 88f2586adbcdcb350b2923a82bcb07c5a519bd1d (patch) | |
tree | d4c93e604c90148368ae9c3327be9839c33f3c27 /libavfilter | |
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')
-rw-r--r-- | libavfilter/buffersrc.h | 2 | ||||
-rw-r--r-- | libavfilter/libmpcodecs/vf.h | 2 | ||||
-rw-r--r-- | libavfilter/libmpcodecs/vf_fspp.c | 2 | ||||
-rw-r--r-- | libavfilter/vf_mp.c | 2 | ||||
-rw-r--r-- | libavfilter/vf_smartblur.c | 6 |
5 files changed, 7 insertions, 7 deletions
diff --git a/libavfilter/buffersrc.h b/libavfilter/buffersrc.h index 5d124337b5..ea34c04ee9 100644 --- a/libavfilter/buffersrc.h +++ b/libavfilter/buffersrc.h @@ -138,7 +138,7 @@ int av_buffersrc_add_frame(AVFilterContext *ctx, AVFrame *frame); * Add a frame to the buffer source. * * By default, if the frame is reference-counted, this function will take - * ownership of the reference(s) and reset the frame. This can be controled + * ownership of the reference(s) and reset the frame. This can be controlled * using the flags. * * If this function returns an error, the input frame is not touched. diff --git a/libavfilter/libmpcodecs/vf.h b/libavfilter/libmpcodecs/vf.h index 0d26296f2e..d8fc66be47 100644 --- a/libavfilter/libmpcodecs/vf.h +++ b/libavfilter/libmpcodecs/vf.h @@ -103,7 +103,7 @@ typedef struct vf_seteq_s #define VFCTRL_CHANGE_RECTANGLE 9 /* Change the rectangle boundaries */ #define VFCTRL_FLIP_PAGE 10 /* Tell the vo to flip pages */ #define VFCTRL_DUPLICATE_FRAME 11 /* For encoding - encode zero-change frame */ -#define VFCTRL_SKIP_NEXT_FRAME 12 /* For encoding - drop the next frame that passes thru */ +#define VFCTRL_SKIP_NEXT_FRAME 12 /* For encoding - drop the next frame that passes through */ #define VFCTRL_FLUSH_FRAMES 13 /* For encoding - flush delayed frames */ #define VFCTRL_SCREENSHOT 14 /* Make a screenshot */ #define VFCTRL_INIT_EOSD 15 /* Select EOSD renderer */ diff --git a/libavfilter/libmpcodecs/vf_fspp.c b/libavfilter/libmpcodecs/vf_fspp.c index 6a0f976b67..e1b26bc625 100644 --- a/libavfilter/libmpcodecs/vf_fspp.c +++ b/libavfilter/libmpcodecs/vf_fspp.c @@ -24,7 +24,7 @@ * "Aria Nosratinia Embedded Post-Processing for * Enhancement of Compressed Images (1999)" * (http://citeseer.nj.nec.com/nosratinia99embedded.html) - * Futher, with splitting (i)dct into hor/ver passes, one of them can be + * Further, with splitting (i)dct into hor/ver passes, one of them can be * performed once per block, not pixel. This allows for much better speed. */ diff --git a/libavfilter/vf_mp.c b/libavfilter/vf_mp.c index 2c145ab856..9f0fbf6419 100644 --- a/libavfilter/vf_mp.c +++ b/libavfilter/vf_mp.c @@ -210,7 +210,7 @@ int ff_mp_msg_test(int mod, int lev){ void ff_init_avcodec(void) { - //we maybe should init but its kinda 1. unneeded 2. a bit inpolite from here + //we maybe should init but its kinda 1. unneeded 2. a bit impolite from here } //Exact copy of vf.c 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; } } |