[vlc-devel] [patch] ensure p_pic->pf_release calls are performed carefuly
thannoy at actech-innovation.com
Tue Apr 8 15:09:17 CEST 2008
I have crossed a segmentation fault with a not protected call to
Most of those calls are already protected by "if( p_pic->pf_release )",
this patch ensure the test to be performed before all calls to
As dionea as pointed on IRC, a more efficient solution would be to
provide a default implementation for pf_release.
I have tried to have a default value for pf_release to point an empty
method but not succedded in this way, feel free to go to this way.
p_pic is of type picture_t, defined in include/vlc_vout.h (~line 60)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 13741 bytes
Desc: not available
More information about the vlc-devel