mirror of https://git.ffmpeg.org/ffmpeg.git
avfilter/vf_scale_vulkan: Fix typo
Fix #10875 Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
This commit is contained in:
parent
74e27d9e31
commit
ab8aab5e2f
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue