improve fuzz tests (#592)

This commit is contained in:
Alessandro Ros
2024-08-01 16:33:04 +02:00
committed by GitHub
parent e2d1e6dab4
commit 92cf812d01
30 changed files with 144 additions and 41 deletions

View File

@@ -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()
}
})
}