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