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