[vlc-devel] commit: Compile fix on windows -- vlc_mutex_init() now returns void. ( JP Dinger )
jpd at m2x.nl
jpd at m2x.nl
Mon May 25 15:38:26 CEST 2009
[formatting fixed]
On Mon, May 25, 2009 at 02:57:32PM +0200, Anthony Loiseau wrote:
> > --- a/include/vlc_gcrypt.h
> > +++ b/include/vlc_gcrypt.h
> > @@ -44,12 +44,8 @@ static int gcry_vlc_mutex_init( void **p_sys )
> > if( p_lock == NULL)
> > return ENOMEM;
> >
> > - i_val = vlc_mutex_init( p_lock );
> > - if( i_val )
> > - free( p_lock );
> > - else
> > - *p_sys = p_lock;
> > - return i_val;
> > + vlc_mutex_init( p_lock );
> > + return VLC_SUCCESS;
> > }
> Just as a note/comment, I found weird that *p_sys is no more set with this
> fix. But I am not skilled at all in this part of the source-code.
Right, noted.
More information about the vlc-devel
mailing list