mirror of https://bitbucket.org/ausocean/av.git
rtmp: fixed order of struct declarations in amf_headers.go to match that of amf.h under C librtmp?
This commit is contained in:
parent
dfa146f276
commit
e22516d9cb
|
@ -53,6 +53,10 @@ const (
|
|||
AMF_INVALID = 0xff
|
||||
)
|
||||
|
||||
// typedef enum
|
||||
// amf.h +40
|
||||
type C_AMFDataType int32
|
||||
|
||||
// typedef struct C_AVal
|
||||
// amf.h +57
|
||||
type C_AVal struct {
|
||||
|
@ -60,10 +64,6 @@ type C_AVal struct {
|
|||
av_len int32
|
||||
}
|
||||
|
||||
// typedef enum
|
||||
// amf.h +40
|
||||
type C_AMFDataType int32
|
||||
|
||||
// typedef struct AMF_Object
|
||||
// amf.h +67
|
||||
type C_AMFObject struct {
|
||||
|
@ -71,6 +71,14 @@ type C_AMFObject struct {
|
|||
o_props *C_AMFObjectProperty
|
||||
}
|
||||
|
||||
// typedef struct P_vu
|
||||
// amf.h +73
|
||||
type P_vu struct {
|
||||
p_number float64
|
||||
p_aval C_AVal
|
||||
p_object C_AMFObject
|
||||
}
|
||||
|
||||
// typedef struct AMFObjectProperty
|
||||
// amf.h +79
|
||||
type C_AMFObjectProperty struct {
|
||||
|
@ -79,11 +87,3 @@ type C_AMFObjectProperty struct {
|
|||
p_vu P_vu
|
||||
p_UTCoffset int16
|
||||
}
|
||||
|
||||
// typedef struct P_vu
|
||||
// amf.h +73
|
||||
type P_vu struct {
|
||||
p_number float64
|
||||
p_aval C_AVal
|
||||
p_object C_AMFObject
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue