Example #1
0
//Free the codec context and everything associated with it and write NULL to the provided pointer.
func (ctxt *Context) AvcodecFreeContext() {
	C.avcodec_free_context((**C.struct_AVCodecContext)(unsafe.Pointer(ctxt)))
}
Example #2
0
//Free the codec context and everything associated with it and write NULL to the provided pointer.
//void 	avcodec_free_context (AVCodecContext **avctx)
func Avcodec_free_context(ctxt **AVCodecContext) {
	C.avcodec_free_context((**C.struct_AVCodecContext)(unsafe.Pointer(ctxt)))
}