Fix a few heigth/height typo.

pull/43/merge
Clément Bœsch 11 years ago
parent 6ef57f4d9a
commit f21d0beb0c
  1. 4
      doc/filters.texi
  2. 2
      libavfilter/vf_psnr.c

@ -6786,11 +6786,11 @@ pixel format "yuv422p" @var{hsub} is 2 and @var{vsub} is 1.
@item in_w, iw @item in_w, iw
@item in_h, ih @item in_h, ih
the input video width and heigth the input video width and height
@item out_w, ow @item out_w, ow
@item out_h, oh @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 specified by the @var{width} and @var{height} expressions
@item rotw(a) @item rotw(a)

@ -246,7 +246,7 @@ static int config_input_ref(AVFilterLink *inlink)
s->nb_components = desc->nb_components; s->nb_components = desc->nb_components;
if (ctx->inputs[0]->w != ctx->inputs[1]->w || if (ctx->inputs[0]->w != ctx->inputs[1]->w ||
ctx->inputs[0]->h != ctx->inputs[1]->h) { 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); return AVERROR(EINVAL);
} }
if (ctx->inputs[0]->format != ctx->inputs[1]->format) { if (ctx->inputs[0]->format != ctx->inputs[1]->format) {

Loading…
Cancel
Save