opus: fix dissector error for win32 build

* packet-opus.c: the array for proto_tree_add_bitmask_list should end with NULL
This commit is contained in:
Lin Sun 2021-05-27 07:12:01 +00:00
parent dde67b0182
commit 5f338e5f1b
1 changed files with 2 additions and 2 deletions

View File

@ -168,10 +168,10 @@ dissect_opus(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_
} frames[MAX_FRAMES_COUNT] = {{0}};
int frame_count = 0;
static int *toc_fields[]
= {&hf_opus_toc_config, &hf_opus_toc_s, &hf_opus_toc_c};
= {&hf_opus_toc_config, &hf_opus_toc_s, &hf_opus_toc_c, NULL};
static int *frame_count_fields[]
= {&hf_opus_frame_count_v, &hf_opus_frame_count_p,
&hf_opus_frame_count_m};
&hf_opus_frame_count_m, NULL};
col_set_str(pinfo->cinfo, COL_PROTOCOL, "OPUS");