Message ID | tencent_15DD891E6EA8A54A330B085713E3336C7505@qq.com |
---|---|
State | Accepted |
Commit | ab8aab5e2f403d7ca1e1fd7a237e610ae8c12711 |
Headers | show |
Series | [FFmpeg-devel] avfilter/vf_scale_vulkan: Fix typo | expand |
Context | Check | Description |
---|---|---|
yinshiyou/make_loongarch64 | success | Make finished |
yinshiyou/make_fate_loongarch64 | success | Make fate finished |
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
diff --git a/libavfilter/vf_scale_vulkan.c b/libavfilter/vf_scale_vulkan.c index a1cf8b1aeb..7210509de3 100644 --- a/libavfilter/vf_scale_vulkan.c +++ b/libavfilter/vf_scale_vulkan.c @@ -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) {
From: Zhao Zhili <zhilizhao@tencent.com> Fix #10875 --- libavfilter/vf_scale_vulkan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)