[vlc-devel] [PATCH 1/2] vout: ios: use VLC_OBJECT when needed
Alexandre Janniaux
ajanni at videolabs.io
Thu Jan 16 17:57:23 CET 2020
---
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;
--
2.25.0
More information about the vlc-devel
mailing list