mirror of https://bitbucket.org/ausocean/av.git
Using AMFProp_Decode everywhere -tested and working
This commit is contained in:
parent
1e6bf462da
commit
aef3cd3001
|
@ -2802,8 +2802,10 @@ func C_AMF_Decode(obj *C.AMFObject, pBuffer *byte, nSize int32, bDecodeName int3
|
|||
continue
|
||||
}
|
||||
// TODO port AMFProp_Decode
|
||||
nRes = int32(C.AMFProp_Decode(&prop, (*C.char)(unsafe.Pointer(pBuffer)),
|
||||
C.int(nSize), C.int(bDecodeName)))
|
||||
nRes = int32(C_AMFProp_Decode(&prop, (*byte)(unsafe.Pointer(pBuffer)),
|
||||
int32(nSize), int32(bDecodeName)))
|
||||
// nRes = int32(C.AMFProp_Decode(&prop, (*C.char)(unsafe.Pointer(pBuffer)),
|
||||
// C.int(nSize), C.int(bDecodeName)))
|
||||
if nRes == -1 {
|
||||
bError = 1
|
||||
break
|
||||
|
|
Loading…
Reference in New Issue