Browse Source

Z991239-4806 #comment 更新切换到下摄像头故障提示图像

80274480 2 years ago
parent
commit
cebab16e76
2 changed files with 1 additions and 1 deletions
  1. 1 1
      Module/mod_sipphone/video_session.cpp
  2. BIN
      addin/assets/error.jpg

+ 1 - 1
Module/mod_sipphone/video_session.cpp

@@ -2155,7 +2155,7 @@ int video_session_create(const video_session_conf_t *conf, video_session_t **p_s
 		GetCurrentRunPath(strPath);
 		sprintf(strImgPath, "%s\\bin\\error.jpg", strPath);
 #else
-		strcpy_s(strImgPath, MAX_PATH_SIZE, "./bin/error.jpg");
+		snprintf(strImgPath, MAX_PATH_SIZE, "%s", "./bin/error.jpg");
 #endif // RVC_OS_WIN		
 		if (ExistsFile(strImgPath))
 		{

BIN
addin/assets/error.jpg