packet-rtp.c: Fix of decoding RTP over TCP
During patch modification in https://code.wireshark.org/review/#/c/19293/ we made mistake :-( Change-Id: I2ff65170dbcf3b5c4d27d6d7c629092d5080ed28 Reviewed-on: https://code.wireshark.org/review/19382 Reviewed-by: Michael Mann <mmann78@netscape.net>
This commit is contained in:
parent
b97af3af2c
commit
5c1b898a43
|
@ -1860,6 +1860,8 @@ dissect_rtp_rfc4571(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* d
|
|||
if ( packet_len < 2 )
|
||||
return 0;
|
||||
|
||||
packet_len -= 2;
|
||||
|
||||
/* Is packet longer than length item */
|
||||
rtp_packet_len = tvb_get_ntohs( tvb, offset );
|
||||
if (packet_len != rtp_packet_len)
|
||||
|
|
Loading…
Reference in New Issue