Marijn Suijten 006ac293bc vulkan: Replace open-coded precondition checks with g_return_val_if_fail
While analyzing gst_vulkan_get_or_create_image_view_with_info() it
seems obvious that this function returns NULL, and that this should be
covered in the return annotations.  However, closer inspection indicates
that this is only a precondition check when the incoming arguments are
incompatible with each other, and should not be considered as a function
that optionally returns a pointer.

Signify this by using precondition checks instead of an opencoded
if-return-NULL.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5736>
2024-08-12 19:23:08 +00:00
..
2024-03-05 12:58:57 +00:00
2024-03-23 13:08:15 +00:00
2024-03-05 12:58:57 +00:00
2024-06-13 04:48:56 +00:00
2024-05-11 15:54:54 +00:00
2024-06-22 12:26:22 +01:00
2024-05-02 13:26:09 +02:00
2024-03-23 13:08:15 +00:00
2024-03-23 13:08:15 +00:00