[vlc-devel] [PATCH 4/6] aout: output: Add missing VLC_OBJECT

Romain Vimont rom1v at videolabs.io
Thu Dec 3 16:00:29 CET 2020


On Thu, Dec 03, 2020 at 03:33:47PM +0100, Hugo Beauzée-Luyssen wrote:
> ---
>  src/audio_output/output.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/audio_output/output.c b/src/audio_output/output.c
> index b0ddfc64b5..5ccfe46565 100644
> --- a/src/audio_output/output.c
> +++ b/src/audio_output/output.c
> @@ -620,7 +620,7 @@ int aout_OutputNew (audio_output_t *aout)
>  
>      aout_FormatPrepare (fmt);
>      assert (fmt->i_bytes_per_frame > 0 && fmt->i_frame_length > 0);
> -    aout_FormatPrint (aout, "output", fmt);
> +    aout_FormatPrint (VLC_OBJECT(aout), "output", fmt);
>      return 0;
>  }

Is it really necessary?
https://code.videolan.org/videolan/vlc/-/blob/bd1ded483a180ca093a003c080b75d2fa72131aa/include/vlc_aout.h#L385


More information about the vlc-devel mailing list