aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-amr.c
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2017-11-06 20:30:43 -0500
committerMichael Mann <mmann78@netscape.net>2017-11-07 03:58:50 +0000
commitea97b3364cba57cd041dde1f6348d029ae3851bf (patch)
treeb387e342df82143d3e687cb6d104336578225a55 /epan/dissectors/packet-amr.c
parent1e707e33fa88f720e09a5d0cc0ebee27d86582d8 (diff)
Add AMR WB pino to make Decode As happy.
Change-Id: I7150db30ce52ab4398ed977197f200070fca1d8c Reviewed-on: https://code.wireshark.org/review/24270 Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/packet-amr.c')
-rw-r--r--epan/dissectors/packet-amr.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/epan/dissectors/packet-amr.c b/epan/dissectors/packet-amr.c
index f9955d4382..7d59458dda 100644
--- a/epan/dissectors/packet-amr.c
+++ b/epan/dissectors/packet-amr.c
@@ -49,6 +49,7 @@ static dissector_handle_t amr_wb_handle;
/* Initialize the protocol and registered fields */
static int proto_amr = -1;
+static int proto_amr_wb = -1;
static int hf_amr_nb_cmr = -1;
static int hf_amr_wb_cmr = -1;
static int hf_amr_payload_decoded_as = -1;
@@ -788,6 +789,7 @@ proto_register_amr(void)
/* Register the protocol name and description */
proto_amr = proto_register_protocol("Adaptive Multi-Rate","AMR", "amr");
+ proto_amr_wb = proto_register_protocol_in_name_only("Adaptive Multi-Rate WB","AMR WB", "amr_wb", proto_amr, FT_PROTOCOL);
/* Required function calls to register the header fields and subtrees used */
proto_register_field_array(proto_amr, hf, array_length(hf));
@@ -821,7 +823,7 @@ proto_register_amr(void)
&pref_amr_mode, modes, AMR_NB);
amr_handle = register_dissector("amr", dissect_amr, proto_amr);
- amr_wb_handle = register_dissector("amr-wb", dissect_amr_wb, proto_amr);
+ amr_wb_handle = register_dissector("amr-wb", dissect_amr_wb, proto_amr_wb);
register_dissector("amr_if1_nb", dissect_amr_nb_if1, proto_amr);
register_dissector("amr_if1_wb", dissect_amr_wb_if1, proto_amr);
register_dissector("amr_if2_nb", dissect_amr_nb_if2, proto_amr);