diff options
author | Jörg Mayer <jmayer@loplof.de> | 2012-09-04 00:42:07 +0000 |
---|---|---|
committer | Jörg Mayer <jmayer@loplof.de> | 2012-09-04 00:42:07 +0000 |
commit | 7aa18f37cd7612ec35ee054ce3468cb455119e7c (patch) | |
tree | b5e1b8a201a169e610da2c1363d1403209f3c37b /epan | |
parent | a31e9fc2ccc1178700e98610d087ca6cf07a2999 (diff) | |
download | wireshark-7aa18f37cd7612ec35ee054ce3468cb455119e7c.tar.gz |
Small whitespace changes
svn path=/trunk/; revision=44763
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/packet-rtp.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/epan/dissectors/packet-rtp.c b/epan/dissectors/packet-rtp.c index 6ab66a1c31..8445cda571 100644 --- a/epan/dissectors/packet-rtp.c +++ b/epan/dissectors/packet-rtp.c @@ -526,7 +526,7 @@ static const value_string rtp_payload_type_short_vals[] = { 93, "Unassigned" }, { 94, "Unassigned" }, { 95, "Unassigned" }, - /* Short RTP types */ + /* Short RTP types */ { PT_UNDF_96, "RTPType-96" }, { PT_UNDF_97, "RTPType-97" }, { PT_UNDF_98, "RTPType-98" }, @@ -692,8 +692,8 @@ static gboolean dissect_rtp_heur_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gboolean check_destport) { guint8 octet1; - unsigned int version; - unsigned int offset = 0; + unsigned int version; + unsigned int offset = 0; /* This is a heuristic dissector, which means we get all the UDP * traffic not sent to a known dissector and not claimed by @@ -1532,13 +1532,13 @@ dissect_rtp( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree ) */ if (hdr_extension_id == 0xBEDE) { dissect_rtp_hext_rfc5215_onebyte (newtvb, pinfo, rtp_hext_tree); - } + } else if ((hdr_extension_id & 0xFFF0) == 0x1000) { dissect_rtp_hext_rfc5215_twobytes(tvb, offset - 4, hdr_extension_id, newtvb, pinfo, rtp_hext_tree); } - else { + else { hdrext_offset = offset; for ( i = 0; i < hdr_extension; i++ ) { if ( tree ) proto_tree_add_uint( rtp_hext_tree, hf_rtp_hdr_ext, tvb, hdrext_offset, 4, tvb_get_ntohl( tvb, hdrext_offset ) ); |