[vlc-devel] Re: demux->pf_control

Clément Stenac zorglub at videolan.org
Thu Dec 7 07:42:46 CET 2006


Filippo Carone wrote:
> Hi,
> while doing some tests on libvlc, I had a problem (read, segfault) with
> libvlc_input_get_fps. This function calls the demux2_Control which in
> turn uses demux->pf_control. It seems pf_control this pointer is not
> being initialized. I say so since everytime i run it, it contains
> different (random) values.

* Does it happen with all demuxers ?
* Are the other fields of p_demux correct ?
* By the way, calling demux2_Control outside of src/input is bad :) An
input_Control wrapper should be made.
* The problem must come from libvlc, as pf_control is continuously
called by the core. If it was smashed, it would crash immediately.

-- 
Zorglub

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list