From dbf2d66ef422388631509b06243b194319c813bf Mon Sep 17 00:00:00 2001 From: zhangmeng <775834166@qq.com> Date: 星期四, 21 十一月 2019 14:47:51 +0800 Subject: [PATCH] update --- cffmpeg.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/cffmpeg.h b/cffmpeg.h index 796a57c..5abcf23 100644 --- a/cffmpeg.h +++ b/cffmpeg.h @@ -29,7 +29,7 @@ void* c_ffmpeg_get_avpacket(const cffmpeg h, int *size, int *key); // 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 pix_fmt, const int scale_flag, const int gi); 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