mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 15:16:51 +08:00
improve coverage (#168)
This commit is contained in:
@@ -382,3 +382,10 @@ func TestSPSUnmarshal(t *testing.T) {
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
func FuzzSPSUnmarshal(f *testing.F) {
|
||||
f.Fuzz(func(t *testing.T, b []byte) {
|
||||
var sps SPS
|
||||
sps.Unmarshal(b)
|
||||
})
|
||||
}
|
||||
|
Reference in New Issue
Block a user