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

Hugo Beauzée-Luyssen hugo at beauzee.fr
Thu Dec 3 16:11:04 CET 2020


On Thu, Dec 3, 2020, at 4:00 PM, Romain Vimont wrote:
> 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
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel

Indeed, my bad. Removed locally

-- 
  Hugo Beauzée-Luyssen
  hugo at beauzee.fr


More information about the vlc-devel mailing list