Browse Source

Fix a few heigth/height typo.

tags/n2.2-rc1
Clément Bœsch 11 years ago
parent
commit
f21d0beb0c
2 changed files with 3 additions and 3 deletions
  1. +2
    -2
      doc/filters.texi
  2. +1
    -1
      libavfilter/vf_psnr.c

+ 2
- 2
doc/filters.texi View File

@@ -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)


+ 1
- 1
libavfilter/vf_psnr.c View File

@@ -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) {


Loading…
Cancel
Save