Skip to content

Commit dadeccc

Browse files
committed
fixed:build error
1 parent 8d841a3 commit dadeccc

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

XEngine_Source/XEngine_ModuleHelp/ModuleHelp_Rtsp/ModuleHelp_Rtsp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ bool CModuleHelp_Rtsp::ModuleHelp_Rtsp_GetSMSAddr(LPCXSTR lpszURLStr, XCHAR* pts
4242
{
4343
ModuleHelp_IsErrorOccur = false;
4444

45-
LPCXSTR lpszRTSPAddr = _tcsstr(lpszURLStr, _X("554"));
45+
LPCXSTR lpszRTSPAddr = _tcsxstr(lpszURLStr, _X("554"));
4646
_tcsxcpy(ptszSMSAddr, lpszRTSPAddr + 4);
4747
return true;
4848
}

XEngine_Source/XEngine_ServiceApp/XEngine_StreamMediaApp/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CC = g++ -Wall -std=c++17
1+
CC = g++ -Wall -std=c++17 -Wno-format-overflow
22
PLATFORM = linux
33
PLATVER =
44
PLATDIR =
@@ -8,7 +8,7 @@ LOADHDR = -I ./
88
LOADSO = -L /usr/local/lib/XEngine_Release/XEngine_BaseLib -L /usr/local/lib/XEngine_Release/XEngine_Core -L /usr/local/lib/XEngine_Release/XEngine_HelpComponents -L /usr/local/lib/XEngine_Release/XEngine_NetHelp -L /usr/local/lib/XEngine_Release/XEngine_RfcComponents -L /usr/local/lib/XEngine_Release/XEngine_AVCodec -L /usr/local/lib/XEngine_Release/XEngine_StreamMedia \
99
-L ../../XEngine_ModuleConfigure -L ../../XEngine_ModuleProtocol -L ../../XEngine_ModuleSession -L ../../XEngine_ModuleHelp -L ../../XEngine_ModuleQueue \
1010
-L ../../XEngine_ThirdPart/jsoncpp
11-
LIB = -lXEngine_BaseLib -lXEngine_Algorithm -lXEngine_Core -lXEngine_ManagePool -lXEngine_OPenSsl -lXEngine_NetXApi -lHelpComponents_XLog -lHelpComponents_Packets -lNetHelp_APIHelp -lRfcComponents_HttpProtocol -lRfcComponents_SDPProtocol -lXEngine_AVHelp -lStreamMedia_FLVProtocol -lStreamMedia_RTMPProtocol -lStreamMedia_HLSProtocol -lStreamMedia_RTSPProtocol -lStreamMedia_RTPProtocol \
11+
LIB = -lXEngine_BaseLib -lXEngine_Algorithm -lXEngine_Core -lXEngine_ManagePool -lXEngine_OPenSsl -lXEngine_NetXApi -lHelpComponents_XLog -lHelpComponents_Packets -lNetHelp_APIHelp -lRfcComponents_HttpProtocol -lXEngine_AVHelp -lStreamMedia_FLVProtocol -lStreamMedia_RTMPProtocol -lStreamMedia_SDPProtocol -lStreamMedia_HLSProtocol -lStreamMedia_RTSPProtocol -lStreamMedia_RTPProtocol -lStreamMedia_RTCPProtocol \
1212
-lXEngine_ModuleConfigure -lXEngine_ModuleProtocol -lXEngine_ModuleSession -lXEngine_ModuleHelp -lXEngine_ModuleQueue \
1313
-ljsoncpp -lsrt-gnutls
1414
LIBEX =

XEngine_Source/XEngine_ServiceApp/XEngine_StreamMediaApp/StreamMedia_PullStream/PullStream_ClientRtsp.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,6 @@ bool PullStream_ClientRtsp_Handle(RFCCOMPONENTS_HTTP_REQPARAM* pSt_HTTPParam, LP
144144
SDPProtocol_Packet_OptionalRange(xhSDPToken);
145145
SDPProtocol_Packet_Control(xhSDPToken, -1);
146146
//配置视频属性
147-
int nListCount = 0;
148147
XCHAR** pptszAVList;
149148
BaseLib_OperatorMemory_Malloc((XPPPMEM)&pptszAVList, 1, 64);
150149
_tcsxcpy(pptszAVList[0], "96");

0 commit comments

Comments
 (0)