goffmpeg.go
@@ -112,8 +112,8 @@ C.wrap_fn_destroy(unsafe.Pointer(libcffmpeg), f) } FreeFFmpeg() return nil } return nil } return &GoFFMPEG{ @@ -142,8 +142,8 @@ C.wrap_fn_destroy(unsafe.Pointer(libcffmpeg), f) } FreeFFmpeg() return nil } return nil } return &GoFFMPEG{ @@ -210,7 +210,7 @@ // GetGBJpg Get GB28181 Jpg func GetGBJpg(rtspURL string) []byte { rtsp := C.CString(rtspUrl) rtsp := C.CString(rtspURL) defer C.free(unsafe.Pointer(rtsp)) var jpgLen C.int