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
|
continue
|
||||||
}
|
}
|
||||||
// TODO port AMFProp_Decode
|
// TODO port AMFProp_Decode
|
||||||
nRes = int32(C.AMFProp_Decode(&prop, (*C.char)(unsafe.Pointer(pBuffer)),
|
nRes = int32(C_AMFProp_Decode(&prop, (*byte)(unsafe.Pointer(pBuffer)),
|
||||||
C.int(nSize), C.int(bDecodeName)))
|
int32(nSize), int32(bDecodeName)))
|
||||||
|
// nRes = int32(C.AMFProp_Decode(&prop, (*C.char)(unsafe.Pointer(pBuffer)),
|
||||||
|
// C.int(nSize), C.int(bDecodeName)))
|
||||||
if nRes == -1 {
|
if nRes == -1 {
|
||||||
bError = 1
|
bError = 1
|
||||||
break
|
break
|
||||||
|
|
Loading…
Reference in New Issue