mirror of
https://github.com/aler9/gortsplib
synced 2025-10-07 08:01:14 +08:00
fix panic when checking pts = dts on H265 (bluenviron/mediamtx#3754) (#617)
This commit is contained in:
@@ -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})
|
||||
})
|
||||
}
|
||||
|
Reference in New Issue
Block a user