avfilter/vf_scale_vulkan: Fix typo

Fix #10875

Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
This commit is contained in:
Zhao Zhili 2024-02-23 15:07:44 +08:00
parent 74e27d9e31
commit ab8aab5e2f
1 changed files with 1 additions and 1 deletions

View File

@ -204,7 +204,7 @@ static av_cold int init_filter(AVFilterContext *ctx, AVFrame *in)
GLSLC(0, );
if (s->vkctx.output_format == s->vkctx.input_format) {
for (int i = 0; i < desc[i].elems; i++) {
for (int i = 0; i < desc[1].elems; i++) {
GLSLF(1, size = imageSize(output_img[%i]); ,i);
GLSLC(1, if (IS_WITHIN(pos, size)) { );
switch (s->scaler) {