From dbf2d66ef422388631509b06243b194319c813bf Mon Sep 17 00:00:00 2001 From: zhangmeng <775834166@qq.com> Date: 星期四, 21 十一月 2019 14:47:51 +0800 Subject: [PATCH] update --- libcffmpeg.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libcffmpeg.c b/libcffmpeg.c index 6237dde..3bebfa6 100644 --- a/libcffmpeg.c +++ b/libcffmpeg.c @@ -144,12 +144,12 @@ } // for encoder -cencoder wrap_fn_create_encoder(void *lib, const int w, const int h, const int fps, const int br, const int scale_flag, const int gi){ +cencoder wrap_fn_create_encoder(void *lib, const int w, const int h, const int fps, const int br, const int pix_fmt, const int scale_flag, const int gi){ if (!fn_create_encoder){ fn_create_encoder = (lib_cffmpeg_create_encoder)dlsym(lib, "c_ffmpeg_create_encoder"); release_if_err(fn_create_encoder, lib); } - return fn_create_encoder(w, h, fps, br, scale_flag, gi); + return fn_create_encoder(w, h, fps, br, pix_fmt, scale_flag, gi); } void wrap_fn_destroy_encoder(void *lib, const cencoder h){ -- Gitblit v1.8.0