Fix #10875
Unified · Split
| @@ -204,7 +204,7 @@ static av_cold int init_filter(AVFilterContext *ctx, AVFrame *in) · 203 unmodified lines | |||
| 204 | GLSLC(0, ); | 204 | GLSLC(0, ); |
| 205 | 205 | ||
| 206 | if (s->vkctx.output_format == s->vkctx.input_format) { | 206 | if (s->vkctx.output_format == s->vkctx.input_format) { |
| 207 | for (int i = 0; i < desc[i].elems; i++) { | 207 | for (int i = 0; i < desc[1].elems; i++) { |
| 208 | GLSLF(1, size = imageSize(output_img[%i]); ,i); | 208 | GLSLF(1, size = imageSize(output_img[%i]); ,i); |
| 209 | GLSLC(1, if (IS_WITHIN(pos, size)) { ); | 209 | GLSLC(1, if (IS_WITHIN(pos, size)) { ); |
| 210 | switch (s->scaler) { | 210 | switch (s->scaler) { |