aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-mpeg-sect.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2012-02-11 20:37:54 +0000
committerGuy Harris <guy@alum.mit.edu>2012-02-11 20:37:54 +0000
commit357ab3c5f74c7d163df0a213449f20e654c78a16 (patch)
tree40d7c74b293d984413d9f3a6dd94f14005198097 /epan/dissectors/packet-mpeg-sect.c
parent9f116d50cb01e883a6d7fba535ca201b8a19c896 (diff)
Don't bail out of a non-heuristic dissector routine just because there's
not enough captured data in the tvbuff. svn path=/trunk/; revision=40977
Diffstat (limited to 'epan/dissectors/packet-mpeg-sect.c')
-rw-r--r--epan/dissectors/packet-mpeg-sect.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/epan/dissectors/packet-mpeg-sect.c b/epan/dissectors/packet-mpeg-sect.c
index cf57050065..9341116ed9 100644
--- a/epan/dissectors/packet-mpeg-sect.c
+++ b/epan/dissectors/packet-mpeg-sect.c
@@ -151,9 +151,6 @@ dissect_mpeg_sect(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
tvbuff_t *pload_tvb = NULL;
- if (tvb_length(tvb) < 3)
- return;
-
table_id = tvb_get_guint8(tvb, offset);
header = tvb_get_ntohs(tvb, offset + 1);
syntax_indicator = header & MPEG_SECT_SYNTAX_INDICATOR_MASK;