[vlc-commits] display: fix video context pointer aliasing

Rémi Denis-Courmont git at videolan.org
Sun Dec 30 18:49:08 CET 2018


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Dec 30 19:48:17 2018 +0200| [810471eecd88d7a4bbdc3bb27301d266eb3f19ce] | committer: Rémi Denis-Courmont

display: fix video context pointer aliasing

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

 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 211cf1bda8..421b6048dd 100644
--- a/src/video_output/display.c
+++ b/src/video_output/display.c
@@ -950,7 +950,7 @@ static vout_display_t *DisplayNew(vout_thread_t *vout,
         vd->module = vlc_module_load(vd, "vout display", module,
                                      module && *module != '\0',
                                      vout_display_start, vd, &osys->cfg,
-                                     &vd->fmt, NULL);
+                                     &vd->fmt, (vlc_video_context *)NULL);
         if (vd->module == NULL)
             goto error;
 



More information about the vlc-commits mailing list