编写了引用模块的测试代码:
module_t *p_module = module_need( p_demux, "testing", "testmodule", false );
if (p_module!=NULL)
{
msg_Dbg(p_demux,"testing code here!\n");
module_unneed(p_demux, p_module);
}
{
msg_Dbg(p_demux,"testing code here!\n");
module_unneed(p_demux, p_module);
}
转载于:https://blog.51cto.com/tianxiaoma/303621