vaapi/display_drm: silence a maybe-unitialized warning

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7875>
This commit is contained in:
Matthew Waters 2024-11-13 17:53:04 +11:00
parent e993e0e981
commit 26d581041a

View file

@ -336,7 +336,7 @@ gst_vaapi_display_drm_class_init (GstVaapiDisplayDRMClass * klass)
GstVaapiDisplay *
gst_vaapi_display_drm_new (const gchar * device_path)
{
GstVaapiDisplay *display;
GstVaapiDisplay *display = NULL;
guint types[3], i, num_types = 0;
gpointer device_paths[3];