fix panic when checking pts = dts on H265 (bluenviron/mediamtx#3754) (#617)

This commit is contained in:
Alessandro Ros
2024-09-11 11:43:15 +02:00
committed by GitHub
parent cb3c527bc1
commit 2023bf1b00
21 changed files with 56 additions and 4 deletions

View File

@@ -87,3 +87,9 @@ func FuzzUnmarshalH264(f *testing.F) {
}
})
}
func FuzzH264PTSEqualsDTS(f *testing.F) {
f.Fuzz(func(t *testing.T, b []byte) {
(&H264{}).PTSEqualsDTS(&rtp.Packet{Payload: b})
})
}