fix freeFFCtx() pointer type bug

This commit is contained in:
nareix 2016-06-08 19:48:41 +08:00
parent 427a2d04d3
commit f4f2dc5f02

View File

@ -562,7 +562,7 @@ func freeFFCtx(self *ffctx) {
}
if ff.codecCtx != nil {
C.avcodec_close(ff.codecCtx)
C.av_free(ff.codecCtx)
C.av_free(unsafe.Pointer(ff.codecCtx))
ff.codecCtx = nil
}
}