From f6aa35eedbc76e7467a68dbe3aba63ec8cb352a5 Mon Sep 17 00:00:00 2001
From: zhangmeng <775834166@qq.com>
Date: 星期五, 26 七月 2019 10:51:03 +0800
Subject: [PATCH] add log

---
 apipassive.go |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/apipassive.go b/apipassive.go
index 84dfda5..90b82a9 100644
--- a/apipassive.go
+++ b/apipassive.go
@@ -26,9 +26,9 @@
 	var l C.int
 
 	p := C.wrap_fn_info_recorder(h.ffmpeg, &i, &l)
-	if i == -1 {
-		return -1, ""
-	}
+	// if p == nil {
+	// 	return -1, ""
+	// }
 	defer C.free(unsafe.Pointer(p))
 
 	return int(i), C.GoString(p)
@@ -71,4 +71,4 @@
 	k := int(key)
 
 	return d, s, k
-}
\ No newline at end of file
+}

--
Gitblit v1.8.0