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

Alexandre Janniaux ajanni at videolabs.io
Thu Sep 19 11:16:50 CEST 2019


Hi,

LGTM,

Regards,
--
Alexandre Janniaux
Videolabs

On Wed, Sep 18, 2019 at 07:38:32PM +0200, Marvin Scholz wrote:
> ---
>  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)
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel


More information about the vlc-devel mailing list