mirror of https://bitbucket.org/ausocean/av.git
protocol/rtp: fixed a bug in rtp.Marker
This commit is contained in:
parent
85ece7d1ed
commit
a94e698c6b
|
@ -44,7 +44,7 @@ func Marker(d []byte) (bool, error) {
|
|||
return false, errors.New(badVer)
|
||||
}
|
||||
|
||||
return d[1]&0x80 == 1, nil
|
||||
return d[1]&0x80 != 0, nil
|
||||
}
|
||||
|
||||
// Payload returns the payload from an RTP packet provided the version is
|
||||
|
|
Loading…
Reference in New Issue