[vlc-devel] commit: Implement access_GetParentInput and demux_GetParentInput and use. ( Pierre d'Herbemont )

Rémi Denis-Courmont remi at remlab.net
Wed Aug 26 21:32:33 CEST 2009

Le mercredi 26 août 2009 22:12:30 Pierre d'Herbemont, vous avez écrit :
> > This function can only be called inside a demuxer function
> What is actually ensuring that?

The function takes a demux_t pointer. None of the functions crawling the 
objects tree return a demux_t pointer.

What prevents invalid pointer casts? Nothing. This is C, not Java.

Rémi Denis-Courmont

More information about the vlc-devel mailing list