Skip to content

Commit dc1f1df

Browse files
committed
fixed:get ip address failed for rtsp help module
1 parent e679e73 commit dc1f1df

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

XEngine_Source/XEngine_ModuleHelp/ModuleHelp_Rtsp/ModuleHelp_Rtsp.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -457,6 +457,8 @@ bool CModuleHelp_Rtsp::ModuleHelp_Rtsp_GetRTPAddr(LPCXSTR lpszClientID, XCHAR* p
457457
}
458458
int nPort = 0;
459459
XCHAR tszIPAddr[128] = {};
460+
_tcsxcpy(tszIPAddr, lpszClientID);
461+
460462
BaseLib_OperatorIPAddr_SegAddr(tszIPAddr, &nPort);
461463
if (bVideo)
462464
{

0 commit comments

Comments
 (0)