Showing the changes to libavfilter (1 of 1 file). Show all
Unified · Split
| @@ -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 | ||
| 149 | static int config_props(AVFilterLink *inlink) | 149 | static 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 | } |