int32_t CWelsLib::DestroyIface (void* pEncCtx) { if (pEncCtx) { pfnDestroyVpInterface pDestroyVpInterface = (pfnDestroyVpInterface) m_pInterface[1]; if (pDestroyVpInterface) { pDestroyVpInterface (pEncCtx, WELSVP_INTERFACE_VERION); } else { } } return 0; }
int32_t CWelsLib::DestroyIface (IWelsVP* pInterfaceVp) { if (pInterfaceVp) { pfnDestroyVpInterface pDestroyVpInterface = (pfnDestroyVpInterface) m_pInterface[1]; if (pDestroyVpInterface) { pDestroyVpInterface (pInterfaceVp, WELSVP_INTERFACE_VERION); } else { } } return 0; }