For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.
[obnox/wireshark/wip.git] / epan / dissectors / packet-image-jfif.c
index 1e18bce6afcec8aa7ab9e3ac61c104d465e38ecb..529908bf729170a1d69ebd90dcc244ae75ff2633 100644 (file)
@@ -779,7 +779,7 @@ dissect_jfif(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree)
 
        if (tree) {
                ti = proto_tree_add_item(tree, proto_jfif,
-                               tvb, 0, -1, FALSE);
+                               tvb, 0, -1, ENC_NA);
                subtree = proto_item_add_subtree(ti, ett_jfif);
                proto_tree_add_item(subtree, hf_marker, tvb, 0, 2, ENC_BIG_ENDIAN);
        }