From 247da74f27e3020cb54b3106e3c2153c83d88e27 Mon Sep 17 00:00:00 2001 From: zhangmeng <775834166@qq.com> Date: 星期四, 21 十一月 2019 15:23:10 +0800 Subject: [PATCH] update --- csrc/cffmpeg.cpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/csrc/cffmpeg.cpp b/csrc/cffmpeg.cpp index f77b232..f42d753 100644 --- a/csrc/cffmpeg.cpp +++ b/csrc/cffmpeg.cpp @@ -110,8 +110,8 @@ } // 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){ - return CreateEncoder(w, h, fps, br, scale_flag, 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){ + return CreateEncoder(w, h, fps, br, pix_fmt, scale_flag, gi); } void c_ffmpeg_destroy_encoder(void *h){ -- Gitblit v1.8.0