mirror of
https://github.com/aler9/gortsplib
synced 2025-10-22 14:49:31 +08:00
improve fuzz tests (#592)
This commit is contained in:
@@ -58,6 +58,10 @@ func FuzzUnmarshalAV1(f *testing.F) {
|
||||
ma["tier"] = f
|
||||
}
|
||||
|
||||
Unmarshal("video", 96, "AV1/90000", ma) //nolint:errcheck
|
||||
fo, err := Unmarshal("video", 96, "AV1/90000", ma)
|
||||
if err == nil {
|
||||
fo.(*AV1).RTPMap()
|
||||
fo.(*AV1).FMTP()
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user