[FFmpeg-cvslog] avfilter/vsrc_sierpinski: rename misleading variable
Paul B Mahol
git at videolan.org
Fri Mar 25 19:19:07 EET 2022
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Fri Mar 25 17:44:38 2022 +0100| [d57a2139981984d91da5d35ed5415d7b72aa4e29] | committer: Paul B Mahol
avfilter/vsrc_sierpinski: rename misleading variable
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d57a2139981984d91da5d35ed5415d7b72aa4e29
---
libavfilter/vsrc_sierpinski.c | 12 ++++++------
1 file 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);
More information about the ffmpeg-cvslog
mailing list