From 3c91e2e203855cf290ba0495ca130bfc96f0f848 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Mon, 16 Jul 2001 05:16:58 +0000 Subject: Convert a bunch of "proto_tree_add_bytes(tree, hf, tvb, offset, length, tvb_get_ptr(tvb, offset, length))" calls to "proto_tree_add_item()" calls. Do the same, in "packet-iscsi.c" and "packet-mrdisc.c", for "proto_tree_add_uint()" and "proto_tree_add_boolean()" calls. svn path=/trunk/; revision=3726 --- packet-mpeg1.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packet-mpeg1.c') diff --git a/packet-mpeg1.c b/packet-mpeg1.c index 6a8187936c..3aaf8eabd1 100644 --- a/packet-mpeg1.c +++ b/packet-mpeg1.c @@ -2,7 +2,7 @@ * * Routines for RFC 2250 MPEG-1 dissection * - * $Id: packet-mpeg1.c,v 1.2 2001/06/18 02:17:49 guy Exp $ + * $Id: packet-mpeg1.c,v 1.3 2001/07/16 05:16:57 guy Exp $ * * Copyright 2001, * Francisco Javier Cabello Torres, @@ -192,7 +192,7 @@ dissect_mpeg1( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree ) offset += 1; /* The rest of the packet is the MPEG-1 stream */ - proto_tree_add_bytes( mpg_tree, hf_rtp_mpg_data, tvb, offset, tvb_length_remaining( tvb, offset ), tvb_get_ptr( tvb, offset, tvb_length_remaining( tvb, offset ) ) ); + proto_tree_add_item( mpg_tree, hf_rtp_mpg_data, tvb, offset, tvb_length_remaining( tvb, offset ), FALSE ); } } -- cgit v1.2.3