func ProbeInputWithScore(pd *ProbeData, isOpened bool, scoreMax int) (*Input, int) { cscoreMax := C.int(scoreMax) cInput := C.av_probe_input_format2(&pd.CAVProbeData, boolToCInt(isOpened), &cscoreMax) if cInput == nil { return nil, 0 } return NewInputFromC(unsafe.Pointer(cInput)), int(cscoreMax) }
//Guess the file format. func AvProbeInputFormat2(pd *AvProbeData, o int, sm *int) *InputFormat { return (*InputFormat)(C.av_probe_input_format2((*C.struct_AVProbeData)(pd), C.int(o), (*C.int)(unsafe.Pointer(sm)))) }