apipassive.go | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
apipassive.go
@@ -5,7 +5,10 @@ #include "libcffmpeg.h" */ import "C" import "unsafe" import ( "fmt" "unsafe" ) // FireRecorder fire recorder func (h *GoFFMPEG) FireRecorder(id int64) { @@ -29,6 +32,8 @@ // if p == nil { // return -1, "" // } path := C.GoString(p) fmt.Println("Go get info : ", path, " len: ", l) defer C.free(unsafe.Pointer(p)) return int(i), C.GoString(p)