diff options
author | Anders Broman <anders.broman@ericsson.com> | 2005-03-16 19:25:13 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2005-03-16 19:25:13 +0000 |
commit | fce4f45b7576dc98a1ed02ac9426e18760e6d294 (patch) | |
tree | 4a3f1c9038f8b4c56b55e03cd42faf4bf5fbadf9 /epan/dissectors/packet-rtp.c | |
parent | ad555d7c60ef16b82856e48dca4e18cc950c7abb (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.c | 5 |
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 */ |