aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-mp2t.c
diff options
context:
space:
mode:
authorChris Maynard <Christopher.Maynard@GTECH.COM>2011-12-12 18:35:49 +0000
committerChris Maynard <Christopher.Maynard@GTECH.COM>2011-12-12 18:35:49 +0000
commit1153ff7b56933c396de6ef2d9159ff044740bc93 (patch)
treebb9bf1a97048e8ca32809cdbc029a0d383f6b2ad /epan/dissectors/packet-mp2t.c
parentee9a02e12db7b264505d326385ff9ae915749f21 (diff)
Fix incorrect "pos=0" pdml values. Resolves the issue reported in comment 4 of https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2432 and closes the bug.
svn path=/trunk/; revision=40161
Diffstat (limited to 'epan/dissectors/packet-mp2t.c')
-rw-r--r--epan/dissectors/packet-mp2t.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-mp2t.c b/epan/dissectors/packet-mp2t.c
index 45bc8b6146..b7a2867433 100644
--- a/epan/dissectors/packet-mp2t.c
+++ b/epan/dissectors/packet-mp2t.c
@@ -805,7 +805,7 @@ dissect_tsp(tvbuff_t *tvb, volatile gint offset, packet_info *pinfo,
offset += 4;
/* Create a subtree for analysis stuff */
- item = proto_tree_add_text(mp2t_tree, tvb, 0, 0, "MPEG2 PCR Analysis");
+ item = proto_tree_add_text(mp2t_tree, tvb, offset, 0, "MPEG2 PCR Analysis");
PROTO_ITEM_SET_GENERATED(item);
mp2t_analysis_tree = proto_item_add_subtree(item, ett_mp2t_analysis);