mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-11-06 05:17:42 +00:00
swscale/vulkan/ops: rename free_fn to spirv_free
Make it consistent with spirv_process.
This commit is contained in:
1 parent
c69954c345
commit
46248a1400
1 file changed
+3
-3
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user