From 64fed650d429fdbdfa4011956a2c057dd0348914 Mon Sep 17 00:00:00 2001 From: zhangmeng <775834166@qq.com> Date: 星期三, 13 十一月 2019 14:21:59 +0800 Subject: [PATCH] bug fix --- csrc/wrapper.hpp | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/csrc/wrapper.hpp b/csrc/wrapper.hpp index 73da823..99039b6 100644 --- a/csrc/wrapper.hpp +++ b/csrc/wrapper.hpp @@ -81,7 +81,8 @@ uint8_t* Decode(const char *file, const int gb, int *w, int *h); - void *CreateEncoder(const int w, const int h, const int fps, const int br, const int scale_flag, const int gi); + void *CreateEncoder(const int w, const int h, const int fps, const int br, + const int scale_flag, const int gi, const int fmt, const char *file); void DestroyEncoder(void *h); int Encode(void *hdl, uint8_t *in, const int w, const int h, uint8_t **out, int *size, int *key); -- Gitblit v1.8.0