浏览代码

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

80274480 2 年之前
父节点
当前提交
cebab16e76
共有 2 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Module/mod_sipphone/video_session.cpp
  2. 二进制
      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))
 		{

二进制
addin/assets/error.jpg