mirror of
https://github.com/aler9/gortsplib
synced 2025-10-06 15:46:51 +08:00
update linter settings (#840)
This commit is contained in:
@@ -16,7 +16,8 @@ func TestDecode(t *testing.T) {
|
||||
require.NoError(t, err)
|
||||
|
||||
for _, pkt := range ca.pkts {
|
||||
image, err := d.Decode(pkt)
|
||||
var image []byte
|
||||
image, err = d.Decode(pkt)
|
||||
if errors.Is(err, ErrMorePacketsNeeded) {
|
||||
continue
|
||||
}
|
||||
|
Reference in New Issue
Block a user