On Thu, Dec 2, 2021 at 7:13 PM Andreas Rheinhardt
<andreas.rheinha...@outlook.com> wrote:
> 2. And even if not: Actually compiling the whole implementation is
> unnecessary; in such cases we typically #if everything away (e.g. in
> your case: it will always return NULL).
> 3. The hwcontext_vulkan.h header requires vulkan system headers; you
> can't compile this without it.
>

I meant to put this into the other mail, but I agree with these two
points. Obviously we can't expect that vulkan headers are always
available, so these "always available" functions should just be empty
stubs that return NULL when vulkan is not enabled at compile time.

- Hendrik
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to