mirror of https://bitbucket.org/ausocean/av.git
Hopefully fixed readN problem
This commit is contained in:
parent
159a21c73a
commit
89e5f334da
|
@ -826,6 +826,7 @@ func readN(r *C.RTMP, buffer *byte, n int) int {
|
|||
return 0
|
||||
}
|
||||
}
|
||||
avail = int(r.m_sb.sb_size)
|
||||
}
|
||||
|
||||
if n < avail {
|
||||
|
|
Loading…
Reference in New Issue