Clean up some lint warnings

Relates to #119
This commit is contained in:
Woodrow Douglass
2018-11-27 08:22:09 -05:00
committed by Max Hawkins
parent de31bb3c60
commit de6e6a63bc
10 changed files with 77 additions and 77 deletions

View File

@@ -45,7 +45,7 @@ func (p RapidResynchronizationRequest) Marshal() ([]byte, error) {
// Unmarshal decodes the RapidResynchronizationRequest from binary
func (p *RapidResynchronizationRequest) Unmarshal(rawPacket []byte) error {
if len(rawPacket) < (headerLength + (ssrcLength * 2)) {
return errPacketTooShort
}
@@ -55,7 +55,7 @@ func (p *RapidResynchronizationRequest) Unmarshal(rawPacket []byte) error {
return err
}
if h.Type != TypeTransportSpecificFeedback || h.Count != 1 {
if h.Type != TypeTransportSpecificFeedback || h.Count != 1 {
return errWrongType
}