mgcp_sdp: Don't check if an unsigned int is below 0

Change-Id: I129f5c6175a8e961bc08b9768bdf22a2232e2fcb
Closes: CID#188849
This commit is contained in:
Harald Welte
2019-07-21 09:27:51 +02:00
parent 6349bd422a
commit 06a49fc04b

View File

@@ -417,9 +417,6 @@ static int add_audio(struct msgb *sdp, int *payload_types, unsigned int payload_
int rc;
unsigned int i;
if (payload_types_len < 0)
return -EINVAL;
rc = msgb_printf(sdp, "m=audio %d RTP/AVP", local_port);
if (rc < 0)
return -EINVAL;