mirror of https://bitbucket.org/ausocean/av.git
rtmp: remove missed comments
This commit is contained in:
parent
aac0801cdb
commit
a626a740ea
|
@ -1611,7 +1611,6 @@ func C_HandShake(r *C_RTMP, FP9HandShake int32) (ok bool) {
|
|||
return false
|
||||
}
|
||||
|
||||
//if C.ReadN(r, (*byte)(unsafe.Pointer(&typ)), 1) != 1 {
|
||||
if C_ReadN(r, (*byte)(unsafe.Pointer(&typ)), 1) != 1 {
|
||||
return false
|
||||
}
|
||||
|
@ -1624,7 +1623,6 @@ func C_HandShake(r *C_RTMP, FP9HandShake int32) (ok bool) {
|
|||
clientbuf[0], typ)
|
||||
}
|
||||
if C_ReadN(r, (*byte)(unsafe.Pointer(&serversig[0])), RTMP_SIG_SIZE) != RTMP_SIG_SIZE {
|
||||
//if C.ReadN(r, (*byte)(unsafe.Pointer(&serversig[0])), RTMP_SIG_SIZE) != RTMP_SIG_SIZE {
|
||||
return false
|
||||
}
|
||||
|
||||
|
@ -1638,7 +1636,6 @@ func C_HandShake(r *C_RTMP, FP9HandShake int32) (ok bool) {
|
|||
}
|
||||
|
||||
if C_ReadN(r, (*byte)(unsafe.Pointer(&serversig[0])), RTMP_SIG_SIZE) != RTMP_SIG_SIZE {
|
||||
//if C.ReadN(r, (*byte)(unsafe.Pointer(&serversig[0])), RTMP_SIG_SIZE) != RTMP_SIG_SIZE {
|
||||
return false
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue