[vlc-commits] vout: ios: use VLC_OBJECT when needed

Alexandre Janniaux git at videolan.org
Wed Jan 22 10:08:42 CET 2020


vlc | branch: master | Alexandre Janniaux <ajanni at videolabs.io> | Fri Dec  6 19:37:34 2019 +0100| [fb6233ce0f9dccd689d0519548b9c3f24edf37b6] | committer: Thomas Guillem

vout: ios: use VLC_OBJECT when needed

Signed-off-by: Thomas Guillem <thomas at gllm.fr>

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

 modules/video_output/ios.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/video_output/ios.m b/modules/video_output/ios.m
index 5ef0a27328..00d7dc5f29 100644
--- a/modules/video_output/ios.m
+++ b/modules/video_output/ios.m
@@ -145,7 +145,7 @@ static int Open(vout_display_t *vd, const vout_display_cfg_t *cfg,
     if (vout_display_cfg_IsWindowed(cfg))
         return VLC_EGENERIC;
 
-    vout_display_sys_t *sys = vlc_obj_calloc(vd, 1, sizeof(*sys));
+    vout_display_sys_t *sys = vlc_obj_calloc(VLC_OBJECT(vd), 1, sizeof(*sys));
 
     if (!sys)
         return VLC_ENOMEM;



More information about the vlc-commits mailing list