From 4587f8d5507300782e329f9527f35f905f3bb697 Mon Sep 17 00:00:00 2001
From: chenshijun <csj_sky@126.com>
Date: 星期二, 29 十月 2019 14:13:25 +0800
Subject: [PATCH] Merge branch 'master' of ssh://192.168.5.5:29418/valib/goffmpeg

---
 godecjpeg.go |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/godecjpeg.go b/godecjpeg.go
index 6cc855d..6cef6af 100644
--- a/godecjpeg.go
+++ b/godecjpeg.go
@@ -23,7 +23,7 @@
 
 	var width C.int
 	var height C.int
-	p := C.wrap_fn_decode(in, C.int(withGB), &width, &height)
+	p := C.wrap_fn_decode(unsafe.Pointer(libcffmpeg), in, C.int(withGB), &width, &height)
 	defer C.free(p)
 
 	if width > 0 && height > 0 {

--
Gitblit v1.8.0