mirror of https://git.ffmpeg.org/ffmpeg.git
avfilter/vsrc_mandelbrot: rename misleading variable
This commit is contained in:
parent
38804e0e23
commit
ccb33caf04
|
@ -146,17 +146,17 @@ static av_cold void uninit(AVFilterContext *ctx)
|
||||||
av_freep(&s->zyklus);
|
av_freep(&s->zyklus);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int config_props(AVFilterLink *inlink)
|
static int config_props(AVFilterLink *outlink)
|
||||||
{
|
{
|
||||||
AVFilterContext *ctx = inlink->src;
|
AVFilterContext *ctx = outlink->src;
|
||||||
MBContext *s = ctx->priv;
|
MBContext *s = ctx->priv;
|
||||||
|
|
||||||
if (av_image_check_size(s->w, s->h, 0, ctx) < 0)
|
if (av_image_check_size(s->w, s->h, 0, ctx) < 0)
|
||||||
return AVERROR(EINVAL);
|
return AVERROR(EINVAL);
|
||||||
|
|
||||||
inlink->w = s->w;
|
outlink->w = s->w;
|
||||||
inlink->h = s->h;
|
outlink->h = s->h;
|
||||||
inlink->time_base = av_inv_q(s->frame_rate);
|
outlink->time_base = av_inv_q(s->frame_rate);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue