[FFmpeg-devel] [PATCH v3] hwcontext_vulkan: make 2 public functions always available

Lynne dev at lynne.ee
Fri Dec 3 18:21:52 EET 2021


The issue is that if ffmpeg is compiled without Vulkan, and an API 
user includes and uses the functions exposed in hwcontext_vulkan.h,
then a linking error will happen, as the hwcontext_vulkan.c file has
not been compiled.

Move the functions to another file, and make it always compiled. The
functions do not use any Vulkan functions.

Ninja v3 due to forgotten config.h.
Patch attached.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: v3-0001-hwcontext_vulkan-make-2-public-functions-always-a.patch
Type: text/x-patch
Size: 13895 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20211203/6310e1fb/attachment.bin>


More information about the ffmpeg-devel mailing list