summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/filters.texi4
-rw-r--r--libavfilter/vf_psnr.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index 46d0a12501..2639f8cf38 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -6786,11 +6786,11 @@ pixel format "yuv422p" @var{hsub} is 2 and @var{vsub} is 1.
@item in_w, iw
@item in_h, ih
-the input video width and heigth
+the input video width and height
@item out_w, ow
@item out_h, oh
-the output width and heigth, that is the size of the padded area as
+the output width and height, that is the size of the padded area as
specified by the @var{width} and @var{height} expressions
@item rotw(a)
diff --git a/libavfilter/vf_psnr.c b/libavfilter/vf_psnr.c
index 4915816da3..082612ad54 100644
--- a/libavfilter/vf_psnr.c
+++ b/libavfilter/vf_psnr.c
@@ -246,7 +246,7 @@ static int config_input_ref(AVFilterLink *inlink)
s->nb_components = desc->nb_components;
if (ctx->inputs[0]->w != ctx->inputs[1]->w ||
ctx->inputs[0]->h != ctx->inputs[1]->h) {
- av_log(ctx, AV_LOG_ERROR, "Width and heigth of input videos must be same.\n");
+ av_log(ctx, AV_LOG_ERROR, "Width and height of input videos must be same.\n");
return AVERROR(EINVAL);
}
if (ctx->inputs[0]->format != ctx->inputs[1]->format) {