Hi,<br><br>I am trying to embed&invoke VLC in my c application.<br><br>I invoke VLC like this:<br>// i_argc is an int<br>// ppsz_argv2 is char* ppsz_argv2[]<br><br>int i_ret = VLC_Create(); <br>i_ret = VLC_Init( 0, i_argc, ppsz_argv2 );
<br> i_ret = VLC_AddIntf( 0, NULL, VLC_TRUE, VLC_TRUE );<br><br>It works the first time when I do this.<br>But when I do that the same i_argc, ppsz_arg2[] the second time, I get an segmentation inside VLC_Init().<br><br>Can you please tell me why is there? Or if that is the right way to embed/invoke VLC in my own application.
<br><br>Thank you.<br>