mirror of
https://github.com/3d0c/gmf
synced 2025-12-24 10:40:59 +08:00
go 1.8 does not want this wrapped in unsafe pointer it appears
This commit is contained in:
2
avio.go
2
avio.go
@@ -103,7 +103,7 @@ func (this *AVIOContext) Free() {
|
||||
}
|
||||
|
||||
func (this *AVIOContext) Flush() {
|
||||
C.avio_flush(unsafe.Pointer(this.avAVIOContext))
|
||||
C.avio_flush(this.avAVIOContext)
|
||||
}
|
||||
|
||||
//export readCallBack
|
||||
|
||||
@@ -217,7 +217,7 @@ func (this *CodecCtx) Free() {
|
||||
|
||||
func (this *CodecCtx) CloseAndRelease() {
|
||||
this.Close()
|
||||
C.call_av_freep(unsafe.Pointer(this.avCodecCtx))
|
||||
C.call_av_freep(this.avCodecCtx)
|
||||
}
|
||||
|
||||
// @todo
|
||||
|
||||
Reference in New Issue
Block a user