aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-asf.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-asf.c')
-rw-r--r--epan/dissectors/packet-asf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-asf.c b/epan/dissectors/packet-asf.c
index 5ab0cab855..69a14c6659 100644
--- a/epan/dissectors/packet-asf.c
+++ b/epan/dissectors/packet-asf.c
@@ -189,7 +189,7 @@ dissect_asf(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)
/* TODO: Add the rest as captures become available to test. */
default:
- next_tvb = tvb_new_subset(tvb, 8, len, len);
+ next_tvb = tvb_new_subset_length(tvb, 8, len);
call_dissector(data_handle, next_tvb, pinfo, tree);
break;
}