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