video analysis2.0拆分,ffmpeg封装go接口库
zhangmeng
2019-07-26 51e5858dda6fb386024df0dce2bc38270f1bff02
apipassive.go
@@ -33,10 +33,11 @@
   //    return -1, ""
   // }
   path := C.GoString(p)
   fmt.Println("Go get info : ", path, " len: ", l)
   defer C.free(unsafe.Pointer(p))
   C.free(unsafe.Pointer(p))
   return int(i), C.GoString(p)
   fmt.Println("Go get info : ", path, " len: ", l)
   return int(i), path
}
// BuildDecoder build decoder