From 7950b86a4bf821e126d5e5659b772ce32faa1445 Mon Sep 17 00:00:00 2001
From: zhangmeng <775834166@qq.com>
Date: 星期二, 25 五月 2021 11:32:24 +0800
Subject: [PATCH] bug fixed declaration

---
 CMakeLists.txt |    2 +-
 libcffmpeg.h   |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6068781..bf2ed72 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -52,4 +52,4 @@
 
 add_library(${BIN} SHARED ${FFMPEG_LIST})
 
-target_link_libraries(${BIN} ${LINK_LIB} -lz pthread dl rtspclient StreamParse)
+target_link_libraries(${BIN} ${LINK_LIB} pthread dl rtspclient StreamParse)
diff --git a/libcffmpeg.h b/libcffmpeg.h
index 0f229cc..3fdb5f2 100644
--- a/libcffmpeg.h
+++ b/libcffmpeg.h
@@ -16,7 +16,7 @@
 typedef void (*lib_cffmpeg_run)(const cffmpeg, const char*);
 typedef int (*lib_cffmpeg_fps)(const cffmpeg);
 typedef void (*lib_cffmpeg_gb28181)(const cffmpeg);
-typedef char * (*lib_cffmpeg_get_gb28181_pic)(const char *rtspUrl, int *retDataLen);
+typedef char * (*lib_cffmpeg_get_gb28181_pic)(const char *rtspUrl, int *retDataLen, const int);
 typedef void (*lib_cffmpeg_cpu)(const cffmpeg);
 typedef void (*lib_cffmpeg_open_recorder)(const cffmpeg);
 typedef void (*lib_cffmpeg_rec_duration)(const cffmpeg, const int, const int);

--
Gitblit v1.8.0