History

avfilter/vsrc_mandelbrot: rename misleading variable

Paul B Mahol committed 4 years ago

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

Unified · Split

libavfilter/vsrc_mandelbrot.c+5−5
@@ -146,17 +146,17 @@ static av_cold void uninit(AVFilterContext *ctx) · 145 unmodified lines
146 av_freep(&s->zyklus);146 av_freep(&s->zyklus);
147}147}
148 148
149static int config_props(AVFilterLink *inlink)149static int config_props(AVFilterLink *outlink)
150{150{
151 AVFilterContext *ctx = inlink->src;151 AVFilterContext *ctx = outlink->src;
152 MBContext *s = ctx->priv;152 MBContext *s = ctx->priv;
153 153
154 if (av_image_check_size(s->w, s->h, 0, ctx) < 0)154 if (av_image_check_size(s->w, s->h, 0, ctx) < 0)
155 return AVERROR(EINVAL);155 return AVERROR(EINVAL);
156 156
157 inlink->w = s->w;157 outlink->w = s->w;
158 inlink->h = s->h;158 outlink->h = s->h;
159 inlink->time_base = av_inv_q(s->frame_rate);159 outlink->time_base = av_inv_q(s->frame_rate);
160 160
161 return 0;161 return 0;
162}162}

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