From d3d1d88da20abffe10c62089e758768a3461b8ca Mon Sep 17 00:00:00 2001 From: chenshijun <csj_sky@126.com> Date: 星期四, 14 三月 2019 18:01:28 +0800 Subject: [PATCH] 解决ffmpeg打开失败没处理导致段错误的问题 --- QiaoJiaSystem/StructureApp/FaceExtractElement.cpp | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/QiaoJiaSystem/StructureApp/FaceExtractElement.cpp b/QiaoJiaSystem/StructureApp/FaceExtractElement.cpp index 679aaf6..a8aa27e 100644 --- a/QiaoJiaSystem/StructureApp/FaceExtractElement.cpp +++ b/QiaoJiaSystem/StructureApp/FaceExtractElement.cpp @@ -123,6 +123,9 @@ strImgUrl = strImgUrlTmp; // strImgUrl.append("/").append(strImgUrlTmp); fdfsClient->rwLock.unlock(); + } else { + strImgUrl = ""; + ERR("fdfsClient is nullptr ???"); } //鎷兼帴json -- Gitblit v1.8.0