mirror of https://bitbucket.org/ausocean/av.git
rtmp: fix build
This commit is contained in:
parent
ddb8fc1e1c
commit
7d989a17f2
|
@ -238,7 +238,7 @@ type rtmpSender struct {
|
|||
|
||||
func (rs *rtmpSender) Write(p []byte) (int, error) {
|
||||
n, err := rs.s.Write(p)
|
||||
if err != errTinyPacket && err != nil {
|
||||
if err != errInvalidFlvTag && err != nil {
|
||||
return 0, err
|
||||
}
|
||||
return n, nil
|
||||
|
|
Loading…
Reference in New Issue