aboutsummaryrefslogtreecommitdiffstats
path: root/packet-rtp.c
diff options
context:
space:
mode:
authorsahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7>2003-08-23 04:18:18 +0000
committersahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7>2003-08-23 04:18:18 +0000
commit184edce7f84b869b2083d81060d1bc5699e67800 (patch)
treeb46b44cc75656b8880027da94fd13925467e1286 /packet-rtp.c
parent210f7ee1ec8dff0644bce66ae6d8fbf0d100731a (diff)
From Niklas Ogren
New Protocol: H.263 called and used by the RTP dissector git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8211 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-rtp.c')
-rw-r--r--packet-rtp.c10
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");