[vlc-devel] Patch for a feature request

mart at float4.com mart at float4.com
Wed Sep 29 18:14:00 CEST 2010


Here is an updated patch.  Hope this is fine now.

Martin


Selon Rémi Duraffort <ivoire at videolan.org>:

> >
> +/**************************************************************************
> > +* Free media descriptor's elementary streams description
> >
> +**************************************************************************/
> > +void
> > +libvlc_media_free_tracks_info( libvlc_media_track_info_t * p_es )
> > +{
> > +    if ( p_es )
> > +        free( p_es );
> > +}
> no need to check for p_es != NULL as free(NULL) is valid.
>
> Regards
>
> --
> Rémi Duraffort | ivoire
> http://ivoire.dinauz.org/blog/
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Added-a-function-to-free-the-memory-allocated-by-lib.patch
Type: text/x-patch
Size: 2544 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20100929/ff02d393/attachment.bin>


More information about the vlc-devel mailing list