[vlc-devel] [PATCH 4/8] vout: display: Fix initialization

Hugo Beauzée-Luyssen hugo at beauzee.fr
Thu Dec 3 16:16:17 CET 2020


---
 src/video_output/display.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/video_output/display.c b/src/video_output/display.c
index 1d304e2b32..bde914f48b 100644
--- a/src/video_output/display.c
+++ b/src/video_output/display.c
@@ -726,7 +726,7 @@ vout_display_t *vout_display_New(vlc_object_t *parent,
     vout_display_t *vd = &osys->display;
     vd->source = &osys->source;
     vd->fmt = &osys->display_fmt;
-    vd->info = (vout_display_info_t){ };
+    vd->info = (vout_display_info_t){ 0 };
     vd->cfg = &osys->cfg;
     vd->ops = NULL;
     vd->sys = NULL;
-- 
2.29.2



More information about the vlc-devel mailing list