aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-rfc2190.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-rfc2190.c')
-rw-r--r--epan/dissectors/packet-rfc2190.c68
1 files changed, 34 insertions, 34 deletions
diff --git a/epan/dissectors/packet-rfc2190.c b/epan/dissectors/packet-rfc2190.c
index da58aae5d5..8544e4de4e 100644
--- a/epan/dissectors/packet-rfc2190.c
+++ b/epan/dissectors/packet-rfc2190.c
@@ -33,38 +33,38 @@ void proto_register_rfc2190(void);
void proto_reg_handoff_rfc2190(void);
/* H.263 header fields */
-static int proto_rfc2190 = -1;
+static int proto_rfc2190;
/* Mode A header */
-static int hf_rfc2190_ftype = -1;
-static int hf_rfc2190_pbframes = -1;
-static int hf_rfc2190_sbit = -1;
-static int hf_rfc2190_ebit = -1;
-static int hf_rfc2190_srcformat = -1;
-static int hf_rfc2190_picture_coding_type_modeA = -1;
-static int hf_rfc2190_unrestricted_motion_vector_modeA = -1;
-static int hf_rfc2190_syntax_based_arithmetic_modeA = -1;
-static int hf_rfc2190_advanced_prediction_modeA = -1;
-static int hf_rfc2190_r_modeA = -1;
-static int hf_rfc2190_rr = -1;
-static int hf_rfc2190_dbq = -1;
-static int hf_rfc2190_trb = -1;
-static int hf_rfc2190_tr = -1;
+static int hf_rfc2190_ftype;
+static int hf_rfc2190_pbframes;
+static int hf_rfc2190_sbit;
+static int hf_rfc2190_ebit;
+static int hf_rfc2190_srcformat;
+static int hf_rfc2190_picture_coding_type_modeA;
+static int hf_rfc2190_unrestricted_motion_vector_modeA;
+static int hf_rfc2190_syntax_based_arithmetic_modeA;
+static int hf_rfc2190_advanced_prediction_modeA;
+static int hf_rfc2190_r_modeA;
+static int hf_rfc2190_rr;
+static int hf_rfc2190_dbq;
+static int hf_rfc2190_trb;
+static int hf_rfc2190_tr;
/* Additional fields for Mode B or C header */
-static int hf_rfc2190_picture_coding_type_modeB = -1;
-static int hf_rfc2190_unrestricted_motion_vector_modeB = -1;
-static int hf_rfc2190_syntax_based_arithmetic_modeB = -1;
-static int hf_rfc2190_advanced_prediction_modeB = -1;
-static int hf_rfc2190_r_modeB = -1;
-static int hf_rfc2190_quant = -1;
-static int hf_rfc2190_gobn = -1;
-static int hf_rfc2190_mba = -1;
-static int hf_rfc2190_hmv1 = -1;
-static int hf_rfc2190_vmv1 = -1;
-static int hf_rfc2190_hmv2 = -1;
-static int hf_rfc2190_vmv2 = -1;
-
-static gint ett_rfc2190 = -1;
+static int hf_rfc2190_picture_coding_type_modeB;
+static int hf_rfc2190_unrestricted_motion_vector_modeB;
+static int hf_rfc2190_syntax_based_arithmetic_modeB;
+static int hf_rfc2190_advanced_prediction_modeB;
+static int hf_rfc2190_r_modeB;
+static int hf_rfc2190_quant;
+static int hf_rfc2190_gobn;
+static int hf_rfc2190_mba;
+static int hf_rfc2190_hmv1;
+static int hf_rfc2190_vmv1;
+static int hf_rfc2190_hmv2;
+static int hf_rfc2190_vmv2;
+
+static gint ett_rfc2190;
static dissector_handle_t h263_handle;
static dissector_handle_t rfc2190_handle;
@@ -485,7 +485,7 @@ proto_register_rfc2190(void)
FT_UINT16,
BASE_DEC,
NULL,
- 0x07F0,
+ 0x0FE0,
"Horizontal motion vector predictor for the first MB in this packet", HFILL
}
},
@@ -494,10 +494,10 @@ proto_register_rfc2190(void)
{
"Vertical motion vector 1",
"rfc2190.vmv1",
- FT_UINT8,
+ FT_UINT16,
BASE_DEC,
NULL,
- 0x03F8,
+ 0x01FC,
"Vertical motion vector predictor for the first MB in this packet", HFILL
}
},
@@ -506,10 +506,10 @@ proto_register_rfc2190(void)
{
"Horizontal motion vector 2",
"rfc2190.hmv2",
- FT_UINT8,
+ FT_UINT16,
BASE_DEC,
NULL,
- 0x01FC,
+ 0x03F8,
"Horizontal motion vector predictor for block number 3 in the first MB in this packet when four motion vectors are used with the advanced prediction option.", HFILL
}
},