From de6e563245cdfabc5bd3890d05b7e54bdbf16eb4 Mon Sep 17 00:00:00 2001
From: zhangmeng <775834166@qq.com>
Date: 星期三, 09 十月 2019 16:36:16 +0800
Subject: [PATCH] add resize format

---
 libcffmpeg.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libcffmpeg.c b/libcffmpeg.c
index 2414a16..8f9bd3f 100644
--- a/libcffmpeg.c
+++ b/libcffmpeg.c
@@ -152,8 +152,8 @@
 
 // for conv
 cconv wrap_fn_create_conv(const int srcW, const int srcH, const int srcFormat,
-                          const int dstW, const int dstH, const int flag){
-    return fn_create_conv(srcW, srcH, srcFormat, dstW, dstH, flag);
+                          const int dstW, const int dstH, const int dstFormat, const int flag){
+    return fn_create_conv(srcW, srcH, srcFormat, dstW, dstH, dstFormat, flag);
 }
 
 void wrap_fn_destroy_conv(const cconv h){

--
Gitblit v1.8.0