From 48c8a8ce082ebdb992cb52cdd766298e8ca19011 Mon Sep 17 00:00:00 2001 From: zhangmeng <775834166@qq.com> Date: 星期二, 25 五月 2021 11:04:56 +0800 Subject: [PATCH] bug fixed gb28181 capture picture --- libcffmpeg.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libcffmpeg.c b/libcffmpeg.c index c8298a8..279b292 100644 --- a/libcffmpeg.c +++ b/libcffmpeg.c @@ -79,7 +79,7 @@ fn_gb28181(h); } -char * wrap_fn_get_gb28181_pic(void *lib, const char *rtspUrl, int *retDataLen){ +char * wrap_fn_get_gb28181_pic(void *lib, const char *rtspUrl, int *retDataLen, const int tt){ if (!fn_get_gb28181_pic){ fn_get_gb28181_pic = (lib_cffmpeg_get_gb28181_pic)dlsym(lib, "c_ffmpeg_get_gb28181_pic"); if(!fn_get_gb28181_pic) { @@ -87,7 +87,7 @@ return NULL; } } - return fn_get_gb28181_pic(rtspUrl, retDataLen); + return fn_get_gb28181_pic(rtspUrl, retDataLen, tt); } void wrap_fn_use_cpu(void *lib, const cffmpeg h){ -- Gitblit v1.8.0