mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-22 01:31:03 +00:00
vaapi/display_drm: silence a maybe-unitialized warning
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7875>
This commit is contained in:
parent
e993e0e981
commit
26d581041a
1 changed files with 1 additions and 1 deletions
|
@ -336,7 +336,7 @@ gst_vaapi_display_drm_class_init (GstVaapiDisplayDRMClass * klass)
|
||||||
GstVaapiDisplay *
|
GstVaapiDisplay *
|
||||||
gst_vaapi_display_drm_new (const gchar * device_path)
|
gst_vaapi_display_drm_new (const gchar * device_path)
|
||||||
{
|
{
|
||||||
GstVaapiDisplay *display;
|
GstVaapiDisplay *display = NULL;
|
||||||
guint types[3], i, num_types = 0;
|
guint types[3], i, num_types = 0;
|
||||||
gpointer device_paths[3];
|
gpointer device_paths[3];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue