[vlc-commits] vout/ios: Fix vlc_obj_calloc argument
    Marvin Scholz 
    git at videolan.org
       
    Tue Jun 11 08:38:56 CEST 2019
    
    
  
vlc | branch: master | Marvin Scholz <epirat07 at gmail.com> | Fri Jun  7 19:33:33 2019 +0200| [e7d904c804003cae5205e0ab21f3e1ca6019945a] | committer: Felix Paul Kühne
vout/ios: Fix vlc_obj_calloc argument
Signed-off-by: Felix Paul Kühne <felix at feepk.net>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e7d904c804003cae5205e0ab21f3e1ca6019945a
---
 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 5bd2a720b1..1971f3bd8f 100644
--- a/modules/video_output/ios.m
+++ b/modules/video_output/ios.m
@@ -148,7 +148,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 (this, 1, sizeof(*sys));
+    vout_display_sys_t *sys = vlc_obj_calloc(vd, 1, sizeof(*sys));
 
     if (!sys)
         return VLC_ENOMEM;
    
    
More information about the vlc-commits
mailing list