summaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-mpeg-pmt.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:14:53 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:14:53 +0000
commita86c5f7cae7ec9a3398300555a0b644689d946a1 (patch)
tree39fe4b107c71174fd1e8a8ceb9a4d2aa14116248 /epan/dissectors/packet-mpeg-pmt.c
parentReleasing progress-linux version 4.2.6-1~progress7.99u1. (diff)
downloadwireshark-a86c5f7cae7ec9a3398300555a0b644689d946a1.tar.xz
wireshark-a86c5f7cae7ec9a3398300555a0b644689d946a1.zip
Merging upstream version 4.4.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'epan/dissectors/packet-mpeg-pmt.c')
-rw-r--r--epan/dissectors/packet-mpeg-pmt.c54
1 files changed, 27 insertions, 27 deletions
diff --git a/epan/dissectors/packet-mpeg-pmt.c b/epan/dissectors/packet-mpeg-pmt.c
index a38ce976..0131489d 100644
--- a/epan/dissectors/packet-mpeg-pmt.c
+++ b/epan/dissectors/packet-mpeg-pmt.c
@@ -19,27 +19,27 @@
void proto_register_mpeg_pmt(void);
void proto_reg_handoff_mpeg_pmt(void);
-static int proto_mpeg_pmt = -1;
-static int hf_mpeg_pmt_program_number = -1;
-static int hf_mpeg_pmt_reserved1 = -1;
-static int hf_mpeg_pmt_version_number = -1;
-static int hf_mpeg_pmt_current_next_indicator = -1;
-static int hf_mpeg_pmt_section_number = -1;
-static int hf_mpeg_pmt_last_section_number = -1;
-static int hf_mpeg_pmt_reserved2 = -1;
-static int hf_mpeg_pmt_pcr_pid = -1;
-static int hf_mpeg_pmt_reserved3 = -1;
-static int hf_mpeg_pmt_program_info_length = -1;
-
-
-static int hf_mpeg_pmt_stream_type = -1;
-static int hf_mpeg_pmt_stream_reserved1 = -1;
-static int hf_mpeg_pmt_stream_elementary_pid = -1;
-static int hf_mpeg_pmt_stream_reserved2 = -1;
-static int hf_mpeg_pmt_stream_es_info_length = -1;
-
-static gint ett_mpeg_pmt = -1;
-static gint ett_mpeg_pmt_stream = -1;
+static int proto_mpeg_pmt;
+static int hf_mpeg_pmt_program_number;
+static int hf_mpeg_pmt_reserved1;
+static int hf_mpeg_pmt_version_number;
+static int hf_mpeg_pmt_current_next_indicator;
+static int hf_mpeg_pmt_section_number;
+static int hf_mpeg_pmt_last_section_number;
+static int hf_mpeg_pmt_reserved2;
+static int hf_mpeg_pmt_pcr_pid;
+static int hf_mpeg_pmt_reserved3;
+static int hf_mpeg_pmt_program_info_length;
+
+
+static int hf_mpeg_pmt_stream_type;
+static int hf_mpeg_pmt_stream_reserved1;
+static int hf_mpeg_pmt_stream_elementary_pid;
+static int hf_mpeg_pmt_stream_reserved2;
+static int hf_mpeg_pmt_stream_es_info_length;
+
+static int ett_mpeg_pmt;
+static int ett_mpeg_pmt_stream;
static dissector_handle_t mpeg_pmt_handle;
@@ -102,11 +102,11 @@ static int
dissect_mpeg_pmt(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)
{
- guint offset = 0, length = 0;
- guint prog_info_len, es_info_len;
- guint32 stream_type;
- guint16 pid;
- gboolean current;
+ unsigned offset = 0, length = 0;
+ unsigned prog_info_len, es_info_len;
+ uint32_t stream_type;
+ uint16_t pid;
+ bool current;
proto_item *ti;
proto_tree *mpeg_pmt_tree;
@@ -263,7 +263,7 @@ proto_register_mpeg_pmt(void)
};
- static gint *ett[] = {
+ static int *ett[] = {
&ett_mpeg_pmt,
&ett_mpeg_pmt_stream,
};