From bfded635a544a1ab5d252739f4be4f7f30b39b7f Mon Sep 17 00:00:00 2001
From: zhangmeng <775834166@qq.com>
Date: 星期五, 26 七月 2019 14:46:48 +0800
Subject: [PATCH] update ffmpeg

---
 libcffmpeg.h |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/libcffmpeg.h b/libcffmpeg.h
index eb92d66..9867d44 100644
--- a/libcffmpeg.h
+++ b/libcffmpeg.h
@@ -21,7 +21,8 @@
 typedef void (*lib_cffmpeg_cpu)(const cffmpeg);
 typedef void (*lib_cffmpeg_recorder)(const cffmpeg, const char*, const char*, int, int);
 typedef void (*lib_cffmpeg_fire_recorder)(const cffmpeg, const char*, const int64_t);
-typedef char*(*lib_cffmpeg_info_recorder)(const cffmpeg, char**, int*, int*);
+typedef char*(*lib_cffmpeg_info_recorder)(const cffmpeg, int*, int*);
+typedef char*(*lib_cffmpeg_rec_id)(const cffmpeg, const char*, int*);
 typedef void (*lib_cffmpeg_decoder)(const cffmpeg);
 typedef void*(*lib_cffmpeg_pic)(const cffmpeg, int*, int*);
 typedef void*(*lib_cffmpeg_avpacket)(const cffmpeg, int*, int*);
@@ -38,6 +39,7 @@
 static lib_cffmpeg_recorder            fn_recorder = NULL;
 static lib_cffmpeg_fire_recorder       fn_fire_recorder = NULL;
 static lib_cffmpeg_info_recorder       fn_info_recorder = NULL;
+static lib_cffmpeg_rec_id              fn_rec_id = NULL;
 static lib_cffmpeg_decoder             fn_decoder = NULL;
 static lib_cffmpeg_pic                 fn_decoder_pic = NULL;
 static lib_cffmpeg_avpacket            fn_get_avpacket = NULL;
@@ -57,7 +59,8 @@
 void wrap_fn_use_cpu(const cffmpeg h);
 void wrap_fn_recorder(const cffmpeg h, const char* id, const char* dir, int mind, int maxd);
 void wrap_fn_fire_recorder(const cffmpeg h, const char *sid, const int64_t id);
-char* wrap_fn_info_recorder(const cffmpeg, char** sid, int* index, int* length);
+char* wrap_fn_info_recorder(const cffmpeg, int* index, int* length);
+char* wrap_fn_rec_id(const cffmpeg h, const char* path, int*length);
 void wrap_fn_decoder(const cffmpeg h);
 void* wrap_fn_decoder_pic(const cffmpeg h, int* wid, int* hei);
 void* wrap_fn_get_avpacket(const cffmpeg h, int* size, int* key);

--
Gitblit v1.8.0