Simplified C_RTMP_IsConnected().

This commit is contained in:
scruzin 2019-01-06 15:35:55 +10:30
parent c7b96f1c31
commit 474642f53b
1 changed files with 1 additions and 4 deletions

View File

@ -236,10 +236,7 @@ func C_RTMP_EnableWrite(r *C_RTMP) {
// int RTMP_IsConnected(RTMP *r);
// rtmp.c +363
func C_RTMP_IsConnected(r *C_RTMP) bool {
if r.m_sb.conn != nil {
return true
}
return false
return r.m_sb.conn != nil
}
// void RTMP_SetBufferMS(RTMP *r, int size);