From f452c5e3ff1246ab5c23088f156abfbbfc13101d Mon Sep 17 00:00:00 2001 From: zhangmeng <775834166@qq.com> Date: 星期一, 14 十月 2019 13:53:38 +0800 Subject: [PATCH] update; --- csrc/wrapper.hpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/csrc/wrapper.hpp b/csrc/wrapper.hpp index 13d5f7d..ca528f9 100644 --- a/csrc/wrapper.hpp +++ b/csrc/wrapper.hpp @@ -34,7 +34,7 @@ std::unique_ptr<ffwrapper::FormatIn> init_reader(const char* input); void init_worker(ffwrapper::FormatIn *in); - void run_worker(ffwrapper::FormatIn *in, std::shared_ptr<ffwrapper::CodedData> data, int64_t &id); + int run_worker(ffwrapper::FormatIn *in, std::shared_ptr<ffwrapper::CodedData> data, int64_t &id); void deinit_worker(); public: int RunStream(const char* input); @@ -81,7 +81,7 @@ int Encode(void *hdl, uint8_t *in, const int w, const int h, uint8_t **out, int *size, int *key); void *CreateConvertor(const int srcW, const int srcH, const int srcFormat, - const int dstW, const int dstH, const int flag); + const int dstW, const int dstH, const int dstFormat, const int flag); uint8_t *Convert(void *h, uint8_t *src); void DestoryConvertor(void *h); -- Gitblit v1.8.0