mirror of
https://github.com/aler9/gortsplib
synced 2025-10-06 23:52:46 +08:00
jpeg: add fuzz tests
This commit is contained in:
@@ -32,3 +32,10 @@ func TestDefineRestartIntervalUnmarshal(t *testing.T) {
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
func FuzzDefineRestartIntervalUnmarshal(f *testing.F) {
|
||||
f.Fuzz(func(t *testing.T, b []byte) {
|
||||
var h DefineRestartInterval
|
||||
h.Unmarshal(b)
|
||||
})
|
||||
}
|
||||
|
Reference in New Issue
Block a user