aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-rtp.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2005-03-16 19:25:13 +0000
committerAnders Broman <anders.broman@ericsson.com>2005-03-16 19:25:13 +0000
commitfce4f45b7576dc98a1ed02ac9426e18760e6d294 (patch)
tree4a3f1c9038f8b4c56b55e03cd42faf4bf5fbadf9 /epan/dissectors/packet-rtp.c
parentad555d7c60ef16b82856e48dca4e18cc950c7abb (diff)
Try the pt_dissector table also if conversation has been set up with SDP.
svn path=/trunk/; revision=13772
Diffstat (limited to 'epan/dissectors/packet-rtp.c')
-rw-r--r--epan/dissectors/packet-rtp.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/epan/dissectors/packet-rtp.c b/epan/dissectors/packet-rtp.c
index 9e84d03d3f..91bc284995 100644
--- a/epan/dissectors/packet-rtp.c
+++ b/epan/dissectors/packet-rtp.c
@@ -381,8 +381,9 @@ dissect_rtp_data( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
{
call_dissector(rtpevent_handle, newtvb, pinfo, tree);
} else
- {
- proto_tree_add_item( rtp_tree, hf_rtp_data, newtvb, 0, -1, FALSE );
+ {
+ if (!dissector_try_port(rtp_pt_dissector_table, payload_type, newtvb, pinfo, tree))
+ proto_tree_add_item( rtp_tree, hf_rtp_data, newtvb, 0, -1, FALSE );
}
} else {
/* is not part of a conv, use the preference saved value do decode the payload type */