[FFmpeg-cvslog] avfilter/vsrc_mandelbrot: rename misleading variable

Paul B Mahol git at videolan.org
Fri Mar 25 19:19:17 EET 2022


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Fri Mar 25 17:52:23 2022 +0100| [ccb33caf044e18d1e3b37331e810f6bc6742a654] | committer: Paul B Mahol

avfilter/vsrc_mandelbrot: rename misleading variable

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ccb33caf044e18d1e3b37331e810f6bc6742a654
---

 libavfilter/vsrc_mandelbrot.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/libavfilter/vsrc_mandelbrot.c b/libavfilter/vsrc_mandelbrot.c
index 83e39f1d13..7e958e1bf1 100644
--- a/libavfilter/vsrc_mandelbrot.c
+++ b/libavfilter/vsrc_mandelbrot.c
@@ -146,17 +146,17 @@ static av_cold void uninit(AVFilterContext *ctx)
     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;
 
     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);
+    outlink->w = s->w;
+    outlink->h = s->h;
+    outlink->time_base = av_inv_q(s->frame_rate);
 
     return 0;
 }



More information about the ffmpeg-cvslog mailing list