aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/mpeg-pes
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2010-12-06 01:34:58 +0000
committerBill Meier <wmeier@newsguy.com>2010-12-06 01:34:58 +0000
commit03b57df5a077e1e3590a96b0ccf675cf2bc133dd (patch)
treed30cafc4dca690450bd630a40b77b47565857b85 /asn1/mpeg-pes
parent7cd3ff263b70c138a51ffb7a75c17220f9c70581 (diff)
Fix various typos and spelling errors.
svn path=/trunk/; revision=35126
Diffstat (limited to 'asn1/mpeg-pes')
-rw-r--r--asn1/mpeg-pes/packet-mpeg-pes-template.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/asn1/mpeg-pes/packet-mpeg-pes-template.c b/asn1/mpeg-pes/packet-mpeg-pes-template.c
index 4313952a01..c83c5678be 100644
--- a/asn1/mpeg-pes/packet-mpeg-pes-template.c
+++ b/asn1/mpeg-pes/packet-mpeg-pes-template.c
@@ -261,7 +261,7 @@ dissect_mpeg_pes_header_data(tvbuff_t *tvb, packet_info *pinfo,
guint8 control;
proto_tree *trick_tree;
proto_item *trick_item;
-
+
trick_item = proto_tree_add_item(item,
hf_mpeg_pes_dsm_trick_mode, tvb,
offset, 1, FALSE);
@@ -274,7 +274,7 @@ dissect_mpeg_pes_header_data(tvbuff_t *tvb, packet_info *pinfo,
hf_mpeg_pes_dsm_trick_mode_control, tvb,
offset, 1,
control);
-
+
if (control == FAST_FORWARD_CONTROL
|| control == FAST_REVERSE_CONTROL)
{
@@ -508,12 +508,12 @@ dissect_mpeg_pes(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
offset = dissect_mpeg_pes_Stream(tvb, offset, &asn1_ctx,
tree, hf_mpeg_pes_extension);
- /* https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2229
- * A value of 0 indicates that the PES packet length is neither specified nor
- * bounded and is allowed only in PES packets whose payload is a video elementary
- * stream contained in Transport Stream packets.
- * XXX Some one with access to the spec should check this
- */
+ /* https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2229
+ * A value of 0 indicates that the PES packet length is neither specified nor
+ * bounded and is allowed only in PES packets whose payload is a video elementary
+ * stream contained in Transport Stream packets.
+ * XXX Some one with access to the spec should check this
+ */
if(length !=0 && stream != STREAM_VIDEO){
length -= 5 * 8;
}
@@ -525,14 +525,14 @@ dissect_mpeg_pes(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
header_length, header_length);
dissect_mpeg_pes_header_data(header_data, pinfo, tree, flags);
offset += header_length * 8;
- /* lenght may be zero for Video stream */
+ /* length may be zero for Video stream */
if(length !=0 && stream != STREAM_VIDEO){
length -= header_length * 8;
}
}
- /* lenght may be zero for Video stream */
- if(length==0){
+ /* length may be zero for Video stream */
+ if(length==0){
proto_tree_add_item(tree, hf_mpeg_pes_data, tvb, (offset>>3),-1, FALSE);
return TRUE;
}