mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-21 17:21:13 +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 *
|
||||
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];
|
||||
|
||||
|
|
Loading…
Reference in a new issue