H.265: Fix incompatible use of proto_tree_add_bits_ret_val with field 'h265.reserved_zero_2bits'

Change-Id: Ic4c9c8fd7676e9eada3ace59f5eb81b6fa339adc
Reviewed-on: https://code.wireshark.org/review/29141
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
This commit is contained in:
Asaf Kave 2018-08-14 17:00:25 +03:00 committed by Pascal Quantin
parent e836e77b68
commit 43dba4e58f
1 changed files with 1 additions and 3 deletions

View File

@ -1838,8 +1838,6 @@ dissect_h265_profile_tier_level(proto_tree* tree, tvbuff_t* tvb, packet_info* pi
offset = bit_offset >> 3;
}
return offset;
}
@ -3216,7 +3214,7 @@ proto_register_h265(void)
},
{ &hf_h265_reserved_zero_2bits/*[i]*/,
{ "reserved_zero_2bits", "h265.reserved_zero_2bits",
FT_UINT8, BASE_DEC, NULL, 0x03,
FT_UINT8, BASE_DEC, NULL, 0x0,
NULL, HFILL }
},
{ &hf_h265_sub_layer_profile_space/*[i]*/,