History

avfilter/vsrc_mandelbrot: rename misleading variable

Paul B Mahol committed 4 years ago

Commit ccb33ca1 parent 38804e01 file · +5 −5Browse files

Showing the changes to libavfilter (1 of 1 file). Show all

Unified · Split

libavfilter/vsrc_mandelbrot.c+5−5
@@ -146,17 +146,17 @@ static av_cold void uninit(AVFilterContext *ctx) · 145 unmodified lines
146146 av_freep(&s->zyklus);
147147 }
148148
149−static int config_props(AVFilterLink *inlink)
149+static int config_props(AVFilterLink *outlink)
150150 {
151− AVFilterContext *ctx = inlink->src;
151+ AVFilterContext *ctx = outlink->src;
152152 MBContext *s = ctx->priv;
153153
154154 if (av_image_check_size(s->w, s->h, 0, ctx) < 0)
155155 return AVERROR(EINVAL);
156156
157− inlink->w = s->w;
158− inlink->h = s->h;
159− inlink->time_base = av_inv_q(s->frame_rate);
157+ outlink->w = s->w;
158+ outlink->h = s->h;
159+ outlink->time_base = av_inv_q(s->frame_rate);
160160
161161 return 0;
162162 }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t