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

---
 csrc/cffmpeg.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/csrc/cffmpeg.cpp b/csrc/cffmpeg.cpp
index 9ade6f9..824b2a7 100644
--- a/csrc/cffmpeg.cpp
+++ b/csrc/cffmpeg.cpp
@@ -118,8 +118,8 @@
 }
 
 void *c_ffmpeg_create_conv(const int srcW, const int srcH, const int srcFormat,
-                          const int dstW, const int dstH, const int flag){
-    return CreateConvertor(srcW, srcH, srcFormat, dstW, dstH, flag);
+                          const int dstW, const int dstH, const int dstFormat, const int flag){
+    return CreateConvertor(srcW, srcH, srcFormat, dstW, dstH, dstFormat, flag);
 }
 
 void *c_ffmpeg_conv(void *h, uint8_t *in){

--
Gitblit v1.8.0