summaryrefslogtreecommitdiff
path: root/libavcodec/evc_ps.c
diff options
context:
space:
mode:
authorLynne <dev@lynne.ee>2023-09-15 02:22:00 +0200
committerLynne <dev@lynne.ee>2023-09-15 17:35:22 +0200
commit9310ffc809d02d7bbc767555c2ed16311623ffe2 (patch)
tree0d6cd2e5d4a7428ce5fa853ba95ed6764f3625c3 /libavcodec/evc_ps.c
parent552a5fa496933c2679cac6774e483bee3f5c2c53 (diff)
vulkan_decode: don't call get_proc_addr on every frame's destruction
The issue is that we cannot rely on any context existing when we free frames. The Vulkan functions are loaded in each context separately, so until now, we've just been loading them on every frame's destruction. Rather than do this, just save the function pointers we need in each frame. The function pointers are guaranteed to not change and exist.
Diffstat (limited to 'libavcodec/evc_ps.c')
0 files changed, 0 insertions, 0 deletions