From 63fce331209d6a430055ae704b0e890535de8e1e Mon Sep 17 00:00:00 2001
From: zhangmeng <775834166@qq.com>
Date: 星期二, 25 五月 2021 15:49:38 +0800
Subject: [PATCH] bug fixed

---
 libcffmpeg.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libcffmpeg.c b/libcffmpeg.c
index 702f776..9f1812a 100644
--- a/libcffmpeg.c
+++ b/libcffmpeg.c
@@ -84,7 +84,7 @@
         fn_get_gb28181_pic = (lib_cffmpeg_get_gb28181_pic)dlsym(lib, "c_ffmpeg_get_gb28181_pic");
         if(!fn_get_gb28181_pic) {
             *retDataLen = 0;
-            return NULL;
+            return -4;
         }
     }
     return fn_get_gb28181_pic(rtspUrl, (char**)ret, retDataLen, tt);

--
Gitblit v1.8.0