mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 23:26:54 +08:00
update golangci-lint (#494)
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package rtpav1
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"testing"
|
||||
|
||||
"github.com/bluenviron/mediacommon/pkg/codecs/av1"
|
||||
@@ -19,7 +20,7 @@ func TestDecode(t *testing.T) {
|
||||
|
||||
for _, pkt := range ca.pkts {
|
||||
addOBUs, err := d.Decode(pkt)
|
||||
if err == ErrMorePacketsNeeded {
|
||||
if errors.Is(err, ErrMorePacketsNeeded) {
|
||||
continue
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user