aboutsummaryrefslogtreecommitdiffstats
path: root/packet-mpeg1.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-07-16 05:16:58 +0000
committerGuy Harris <guy@alum.mit.edu>2001-07-16 05:16:58 +0000
commit3c91e2e203855cf290ba0495ca130bfc96f0f848 (patch)
treef69005a62bb0392c20abfb3cf5d0975c57c1a073 /packet-mpeg1.c
parent04c530b2def5a06f92aecbc16ca698a84b6811cd (diff)
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
Diffstat (limited to 'packet-mpeg1.c')
-rw-r--r--packet-mpeg1.c4
1 files changed, 2 insertions, 2 deletions
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, <fjcabello@vtools.es>
@@ -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 );
}
}