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

@@ -104,3 +104,9 @@ func FuzzUnmarshalH265(f *testing.F) {
}
})
}
func FuzzH265PTSEqualsDTS(f *testing.F) {
f.Fuzz(func(t *testing.T, b []byte) {
(&H265{}).PTSEqualsDTS(&rtp.Packet{Payload: b})
})
}