diff --git a/src/source/PeerConnection/SessionDescription.c b/src/source/PeerConnection/SessionDescription.c index 14d207b28b..bd9f50ec4e 100644 --- a/src/source/PeerConnection/SessionDescription.c +++ b/src/source/PeerConnection/SessionDescription.c @@ -151,7 +151,8 @@ STATUS setPayloadTypesFromOffer(PHashTable codecTable, PHashTable rtxTable, PSes ENTERS(); STATUS retStatus = STATUS_SUCCESS; PSdpMediaDescription pMediaDescription = NULL; - UINT8 currentMedia, currentAttribute; + UINT8 currentAttribute; + UINT16 currentMedia; PCHAR attributeValue, end; UINT64 parsedPayloadType, hashmapPayloadType, fmtpVal, aptVal; UINT16 aptFmtpVals[MAX_SDP_FMTP_VALUES];