mirror of
				https://github.com/aler9/gortsplib
				synced 2025-10-31 02:26:57 +08:00 
			
		
		
		
	ensure unmarshaled entities can be marshaled back (#773)
This commit is contained in:
		| @@ -58,9 +58,10 @@ func TestDecodeErrorMissingPacket(t *testing.T) { | ||||
| } | ||||
|  | ||||
| func FuzzDecoder(f *testing.F) { | ||||
| 	f.Fuzz(func(_ *testing.T, a []byte, am bool, b []byte, bm bool) { | ||||
| 	f.Fuzz(func(t *testing.T, a []byte, am bool, b []byte, bm bool) { | ||||
| 		d := &Decoder{} | ||||
| 		d.Init() //nolint:errcheck | ||||
| 		err := d.Init() | ||||
| 		require.NoError(t, err) | ||||
|  | ||||
| 		d.Decode(&rtp.Packet{ //nolint:errcheck | ||||
| 			Header: rtp.Header{ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Alessandro Ros
					Alessandro Ros