mirror of https://bitbucket.org/ausocean/av.git
rtmp: removed check to see if byte slice length is less that 0 - which doesn't happen
This commit is contained in:
parent
9b152f0495
commit
6da0967b80
|
@ -2189,9 +2189,6 @@ func C_RTMP_Write(r *C_RTMP, buf []byte) int {
|
||||||
return -1
|
return -1
|
||||||
}
|
}
|
||||||
buf = buf[4:]
|
buf = buf[4:]
|
||||||
if len(buf) < 0 {
|
|
||||||
break
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return size + len(buf)
|
return size + len(buf)
|
||||||
|
|
Loading…
Reference in New Issue