rtmp: fix build

This commit is contained in:
Dan Kortschak 2019-01-17 16:20:51 +10:30
parent ddb8fc1e1c
commit 7d989a17f2
1 changed files with 1 additions and 1 deletions

View File

@ -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