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 --- cffmpeg.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/cffmpeg.h b/cffmpeg.h index 0a7ebd1..258416d 100644 --- a/cffmpeg.h +++ b/cffmpeg.h @@ -32,7 +32,7 @@ void* c_ffmpeg_decode(const char *file, const int gb, int *wid, int *hei); // pic encoder -void *c_ffmpeg_create_encoder(const int w, const int h, const int fps, const int br, const int scale_flag, const int gi); +void *c_ffmpeg_create_encoder(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 c_ffmpeg_destroy_encoder(void *h); int c_ffmpeg_encode(void *hdl, uint8_t *in, const int w, const int h, uint8_t **out, int *size, int *key); -- Gitblit v1.8.0