aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter
diff options
context:
space:
mode:
authorMoritz Barsnick <barsnick@gmx.net>2016-10-09 12:57:00 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2016-10-09 20:14:01 +0200
commit8baf2d8fadc16d7f2c7d4e686f19e495ae6cc07e (patch)
tree483b9849dea489a407547bfb16d70c7c97b7c359 /libavfilter
parent17b8e7799f640a7cf41f4656184f3b5201e4d845 (diff)
downloadffmpeg-8baf2d8fadc16d7f2c7d4e686f19e495ae6cc07e.tar.gz
lavfi: fix typos
Signed-off-by: Moritz Barsnick <barsnick@gmx.net> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit f4e4bde1f4cff99d4ec59ed361ff9228b2050e6b) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/af_pan.c4
-rw-r--r--libavfilter/vf_blackframe.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/libavfilter/af_pan.c b/libavfilter/af_pan.c
index 1eb102c10a..7c02f6720d 100644
--- a/libavfilter/af_pan.c
+++ b/libavfilter/af_pan.c
@@ -109,7 +109,7 @@ static av_cold int init(AVFilterContext *ctx)
if (!pan->args) {
av_log(ctx, AV_LOG_ERROR,
"pan filter needs a channel layout and a set "
- "of channels definitions as parameter\n");
+ "of channel definitions as parameter\n");
return AVERROR(EINVAL);
}
if (!args)
@@ -276,7 +276,7 @@ static int config_props(AVFilterLink *link)
if (link->channels > MAX_CHANNELS ||
pan->nb_output_channels > MAX_CHANNELS) {
av_log(ctx, AV_LOG_ERROR,
- "af_pan support a maximum of %d channels. "
+ "af_pan supports a maximum of %d channels. "
"Feel free to ask for a higher limit.\n", MAX_CHANNELS);
return AVERROR_PATCHWELCOME;
}
diff --git a/libavfilter/vf_blackframe.c b/libavfilter/vf_blackframe.c
index ad6d488b3a..9fe2a42942 100644
--- a/libavfilter/vf_blackframe.c
+++ b/libavfilter/vf_blackframe.c
@@ -104,8 +104,8 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *frame)
#define OFFSET(x) offsetof(BlackFrameContext, x)
#define FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM
static const AVOption blackframe_options[] = {
- { "amount", "Percentage of the pixels that have to be below the threshold "
- "for the frame to be considered black.", OFFSET(bamount), AV_OPT_TYPE_INT, { .i64 = 98 }, 0, 100, FLAGS },
+ { "amount", "percentage of the pixels that have to be below the threshold "
+ "for the frame to be considered black", OFFSET(bamount), AV_OPT_TYPE_INT, { .i64 = 98 }, 0, 100, FLAGS },
{ "threshold", "threshold below which a pixel value is considered black",
OFFSET(bthresh), AV_OPT_TYPE_INT, { .i64 = 32 }, 0, 255, FLAGS },
{ "thresh", "threshold below which a pixel value is considered black",