go 1.8 does not want this wrapped in unsafe pointer it appears

This commit is contained in:
scott rushforth
2017-02-17 02:49:50 -08:00
parent 3a2234cf1b
commit 6f2ce77749
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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