From 4eab3ca9bf020df2bb53fa2a36aa4f57d684225c Mon Sep 17 00:00:00 2001 From: zhangmeng <775834166@qq.com> Date: 星期三, 07 八月 2019 17:25:03 +0800 Subject: [PATCH] add rec notify, try catch --- goffmpeg.go | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/goffmpeg.go b/goffmpeg.go index ca948ab..d79d0ba 100644 --- a/goffmpeg.go +++ b/goffmpeg.go @@ -183,7 +183,7 @@ func (h *GoFFMPEG) GetPicDecoder() ([]byte, int, int, int64) { var width C.int var height C.int - var fid C.longlong + var fid C.long p := C.wrap_fn_decoder_pic(h.ffmpeg, &width, &height, &fid) if width == 0 && height == 0 { -- Gitblit v1.8.0