aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2016-04-27 13:45:23 -0400
committerDiego Biurrun <diego@biurrun.de>2016-05-04 18:16:21 +0200
commit41ed7ab45fc693f7d7fc35664c0233f4c32d69bb (patch)
tree146a086cf7c1881d55f9261b58138983e13af21c /libavfilter
parent5c31eaa9998b2185e0aa04d11adff128498dc14a (diff)
downloadffmpeg-41ed7ab45fc693f7d7fc35664c0233f4c32d69bb.tar.gz
cosmetics: Fix spelling mistakes
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/avfilter.h2
-rw-r--r--libavfilter/interlace.h4
-rw-r--r--libavfilter/pthread.c2
-rw-r--r--libavfilter/setpts.c2
-rw-r--r--libavfilter/vf_gradfun.c6
-rw-r--r--libavfilter/vf_hqdn3d.c2
-rw-r--r--libavfilter/vf_overlay.c2
-rw-r--r--libavfilter/vf_select.c2
-rw-r--r--libavfilter/vf_yadif.c2
9 files changed, 12 insertions, 12 deletions
diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h
index 65918fc474..a17b2a2f5c 100644
--- a/libavfilter/avfilter.h
+++ b/libavfilter/avfilter.h
@@ -441,7 +441,7 @@ void avfilter_uninit(void);
* is not registered.
*
* @param filter the filter to register
- * @return 0 if the registration was succesfull, a negative value
+ * @return 0 if the registration was successful, a negative value
* otherwise
*/
int avfilter_register(AVFilter *filter);
diff --git a/libavfilter/interlace.h b/libavfilter/interlace.h
index 2d470508f4..fa571bd6eb 100644
--- a/libavfilter/interlace.h
+++ b/libavfilter/interlace.h
@@ -47,9 +47,9 @@ enum FieldType {
typedef struct InterlaceContext {
const AVClass *class;
enum ScanMode scan; // top or bottom field first scanning
- int lowpass; // enable or disable low pass filterning
+ int lowpass; // enable or disable low pass filtering
AVFrame *cur, *next; // the two frames from which the new one is obtained
- int got_output; // signal an output frame is reday to request_frame()
+ int got_output; // signal an output frame is ready to request_frame()
void (*lowpass_line)(uint8_t *dstp, ptrdiff_t linesize, const uint8_t *srcp,
const uint8_t *srcp_above, const uint8_t *srcp_below);
} InterlaceContext;
diff --git a/libavfilter/pthread.c b/libavfilter/pthread.c
index a60c1dcfba..2ebcc9753a 100644
--- a/libavfilter/pthread.c
+++ b/libavfilter/pthread.c
@@ -44,7 +44,7 @@ typedef struct ThreadContext {
pthread_t *workers;
avfilter_action_func *func;
- /* per-execute perameters */
+ /* per-execute parameters */
AVFilterContext *ctx;
void *arg;
int *rets;
diff --git a/libavfilter/setpts.c b/libavfilter/setpts.c
index 6519790ba6..1c262b73e7 100644
--- a/libavfilter/setpts.c
+++ b/libavfilter/setpts.c
@@ -45,7 +45,7 @@ static const char *const var_names[] = {
"INTERLACED", ///< tell if the current frame is interlaced
"N", ///< frame / sample number (starting at zero)
"PHI", ///< golden ratio
- "PI", ///< greek pi
+ "PI", ///< Greek pi
"PREV_INPTS", ///< previous input PTS
"PREV_OUTPTS", ///< previous output PTS
"PTS", ///< original pts in the file of the frame
diff --git a/libavfilter/vf_gradfun.c b/libavfilter/vf_gradfun.c
index ce79329b61..973cd7bd6a 100644
--- a/libavfilter/vf_gradfun.c
+++ b/libavfilter/vf_gradfun.c
@@ -26,9 +26,9 @@
*
* Apply a boxblur debanding algorithm (based on the gradfun2db
* AviSynth filter by prunedtree).
- * Foreach pixel, if it's within threshold of the blurred value, make it closer.
- * So now we have a smoothed and higher bitdepth version of all the shallow
- * gradients, while leaving detailed areas untouched.
+ * For each pixel, if it is within the threshold of the blurred value, make it
+ * closer. So now we have a smoothed and higher bitdepth version of all the
+ * shallow gradients, while leaving detailed areas untouched.
* Dither it back to 8bit.
*/
diff --git a/libavfilter/vf_hqdn3d.c b/libavfilter/vf_hqdn3d.c
index d8b1f3901e..4d8297df1f 100644
--- a/libavfilter/vf_hqdn3d.c
+++ b/libavfilter/vf_hqdn3d.c
@@ -127,7 +127,7 @@ static int denoise_depth(HQDN3DContext *s,
int w, int h, int sstride, int dstride,
int16_t *spatial, int16_t *temporal, int depth)
{
- // FIXME: For 16bit depth, frame_ant could be a pointer to the previous
+ // FIXME: For 16-bit depth, frame_ant could be a pointer to the previous
// filtered frame rather than a separate buffer.
long x, y;
uint16_t *frame_ant = *frame_ant_ptr;
diff --git a/libavfilter/vf_overlay.c b/libavfilter/vf_overlay.c
index 11e0a6fbac..bb7bde6f73 100644
--- a/libavfilter/vf_overlay.c
+++ b/libavfilter/vf_overlay.c
@@ -75,7 +75,7 @@ static const char *eof_action_str[] = {
typedef struct OverlayContext {
const AVClass *class;
- int x, y; ///< position of overlayed picture
+ int x, y; ///< position of overlaid picture
int max_plane_step[4]; ///< steps per pixel for each plane
int hsub, vsub; ///< chroma subsampling values
diff --git a/libavfilter/vf_select.c b/libavfilter/vf_select.c
index 8d0e6c3be0..4139e78333 100644
--- a/libavfilter/vf_select.c
+++ b/libavfilter/vf_select.c
@@ -35,7 +35,7 @@
static const char *const var_names[] = {
"E", ///< Euler number
"PHI", ///< golden ratio
- "PI", ///< greek pi
+ "PI", ///< Greek pi
"TB", ///< timebase
diff --git a/libavfilter/vf_yadif.c b/libavfilter/vf_yadif.c
index 75e20a8419..75f2d17758 100644
--- a/libavfilter/vf_yadif.c
+++ b/libavfilter/vf_yadif.c
@@ -398,7 +398,7 @@ static int poll_frame(AVFilterLink *link)
if (val <= 0)
return val;
- //FIXME change API to not requre this red tape
+ //FIXME change API to not require this red tape
if (val == 1 && !yadif->next) {
if ((ret = ff_request_frame(link->src->inputs[0])) < 0)
return ret;