[vlc-commits] vout: display: Fix initialization

Hugo Beauzée-Luyssen git at videolan.org
Fri Dec 4 10:43:29 UTC 2020


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Mon Nov 30 06:40:28 2020 -0800| [1f09d90676e63df53f14097761544bb825691d72] | committer: Hugo Beauzée-Luyssen

vout: display: Fix initialization

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1f09d90676e63df53f14097761544bb825691d72
---

 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 d1e06c9922..9ada4bedd4 100644
--- a/src/video_output/display.c
+++ b/src/video_output/display.c
@@ -712,7 +712,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;



More information about the vlc-commits mailing list