|
@@ -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))
|
|
|
{
|