diff options
author | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2003-08-23 04:18:18 +0000 |
---|---|---|
committer | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2003-08-23 04:18:18 +0000 |
commit | a3d8f21810523bc084c989ea73cda7f52642c843 (patch) | |
tree | b46b44cc75656b8880027da94fd13925467e1286 /packet-rtp.c | |
parent | 8085ae57b16e59f621b84ded377656dff02f0931 (diff) | |
download | wireshark-a3d8f21810523bc084c989ea73cda7f52642c843.tar.gz wireshark-a3d8f21810523bc084c989ea73cda7f52642c843.tar.bz2 wireshark-a3d8f21810523bc084c989ea73cda7f52642c843.zip |
From Niklas Ogren
New Protocol: H.263 called and used by the RTP dissector
svn path=/trunk/; revision=8211
Diffstat (limited to 'packet-rtp.c')
-rw-r--r-- | packet-rtp.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/packet-rtp.c b/packet-rtp.c index a819a6910c..df5f76273b 100644 --- a/packet-rtp.c +++ b/packet-rtp.c @@ -6,7 +6,7 @@ * Copyright 2000, Philips Electronics N.V. * Written by Andreas Sikkema <andreas.sikkema@philips.com> * - * $Id: packet-rtp.c,v 1.39 2003/05/20 21:22:58 guy Exp $ + * $Id: packet-rtp.c,v 1.40 2003/08/23 04:18:18 sahlberg Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -94,6 +94,7 @@ static gint ett_csrc_list = -1; static gint ett_hdr_ext = -1; static dissector_handle_t h261_handle; +static dissector_handle_t h263_handle; static dissector_handle_t mpeg1_handle; static dissector_handle_t data_handle; @@ -317,6 +318,12 @@ dissect_rtp_data( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, call_dissector(h261_handle, newtvb, pinfo, tree); break; + case PT_H263: + newtvb = tvb_new_subset( tvb, offset, data_len, + data_reported_len ); + call_dissector(h263_handle, newtvb, pinfo, tree); + break; + case PT_MPV: newtvb = tvb_new_subset( tvb, offset, data_len, data_reported_len ); @@ -812,6 +819,7 @@ proto_reg_handoff_rtp(void) * Get handles for the H.261 and MPEG-1 dissectors. */ h261_handle = find_dissector("h261"); + h263_handle = find_dissector("h263"); mpeg1_handle = find_dissector("mpeg1"); data_handle = find_dissector("data"); |