swscale/vulkan/ops: rename free_fn to spirv_free

Make it consistent with spirv_process.
This commit is contained in:
Ramiro Polla committed 2026-10-28 12:32:01 +01:00
1 parent c69954c345
commit 46248a1400
1 file changed
+3 -3
+3 -3
View File
@@ -179,7 +179,7 @@ error:
av_err2str(err));
}
static void free_fn(void *priv)
static void spirv_free(void *priv)
{
VulkanPriv *p = priv;
ff_vk_exec_pool_free(&p->s->vkctx, &p->e);
@@ -1312,7 +1312,7 @@ static int compile_spirv(SwsContext *sws, const SwsOpList *ops,
.opaque = true,
.func_opaque = spirv_process,
.priv = p,
.free = free_fn,
.free = spirv_free,
};
av_log(sws, AV_LOG_DEBUG, "Compiled micro-ops:\n");
@@ -1327,7 +1327,7 @@ static int compile_spirv(SwsContext *sws, const SwsOpList *ops,
fail:
ff_sws_uop_list_free(&uops);
free_fn(p);
spirv_free(p);
return err;
}