diff options
author | Paul B Mahol <onemda@gmail.com> | 2022-03-25 17:44:38 +0100 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2022-03-25 18:20:00 +0100 |
commit | d57a2139981984d91da5d35ed5415d7b72aa4e29 (patch) | |
tree | ac2fcd1bc98617cc93f828ca9214a6cc0f2fd19c | |
parent | 89083142fa52734b246c4569acdcabb72d99e42a (diff) | |
download | ffmpeg-d57a2139981984d91da5d35ed5415d7b72aa4e29.tar.gz |
avfilter/vsrc_sierpinski: rename misleading variable
-rw-r--r-- | libavfilter/vsrc_sierpinski.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libavfilter/vsrc_sierpinski.c b/libavfilter/vsrc_sierpinski.c index 047811c11f..1c81a2f4fd 100644 --- a/libavfilter/vsrc_sierpinski.c +++ b/libavfilter/vsrc_sierpinski.c @@ -137,18 +137,18 @@ static int draw_carpet_slice(AVFilterContext *ctx, void *arg, int job, int nb_jo return 0; } -static int config_output(AVFilterLink *inlink) +static int config_output(AVFilterLink *outlink) { - AVFilterContext *ctx = inlink->src; + AVFilterContext *ctx = outlink->src; SierpinskiContext *s = ctx->priv; if (av_image_check_size(s->w, s->h, 0, ctx) < 0) return AVERROR(EINVAL); - inlink->w = s->w; - inlink->h = s->h; - inlink->time_base = av_inv_q(s->frame_rate); - inlink->sample_aspect_ratio = (AVRational) {1, 1}; + outlink->w = s->w; + outlink->h = s->h; + outlink->time_base = av_inv_q(s->frame_rate); + outlink->sample_aspect_ratio = (AVRational) {1, 1}; if (s->seed == -1) s->seed = av_get_random_seed(); av_lfg_init(&s->lfg, s->seed); |