mirror of
https://github.com/aler9/gortsplib
synced 2025-11-03 11:11:01 +08:00
improve fuzz tests (#592)
This commit is contained in:
@@ -52,6 +52,10 @@ func FuzzUnmarshalVP8(f *testing.F) {
|
||||
ma["max-fs"] = d
|
||||
}
|
||||
|
||||
Unmarshal("audio", 96, "VP8/90000", ma) //nolint:errcheck
|
||||
fo, err := Unmarshal("audio", 96, "VP8/90000", ma)
|
||||
if err == nil {
|
||||
fo.RTPMap()
|
||||
fo.FMTP()
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user