[vlc-devel] [PATCH] aout/ios: Fix build

Marvin Scholz epirat07 at gmail.com
Wed Sep 18 19:38:32 CEST 2019


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

diff --git a/modules/audio_output/audiounit_ios.m b/modules/audio_output/audiounit_ios.m
index 1c0f8528b9..970b62a0f0 100644
--- a/modules/audio_output/audiounit_ios.m
+++ b/modules/audio_output/audiounit_ios.m
@@ -613,7 +613,7 @@ static int DeviceSelect(audio_output_t *p_aout, const char *psz_id)
 {
     audio_output_t *aout = (audio_output_t *)obj;
 
-    aout_sys_t *sys = p_aout->sys = calloc(1, sizeof (*sys));
+    aout_sys_t *sys = aout->sys = calloc(1, sizeof (*sys));
     if (unlikely(sys == NULL))
         return VLC_ENOMEM;
 
-- 
2.20.1 (Apple Git-117)



More information about the vlc-devel mailing list