Bill Meier
77376a2363
Change "4 space tabs" indentation to use "4 spaces" indentation.
...
Also:
- remove some unneeded initializers;
- remove several unneeded 'col_clear()' calls;
- guint8 --> guint to prevent a possible overflow;
- reformat for style in some cases.
svn path=/trunk/; revision=48297
2013-03-14 14:42:12 +00:00
Jeff Morriss
2552c750e5
We always HAVE_CONFIG_H so don't bother checking whether we have it or not.
...
svn path=/trunk/; revision=45017
2012-09-20 02:03:38 +00:00
Martin Kaiser
a31e9fc2cc
unify the handling for all DVB/MPEG sections
...
don't initialize pointer where it's not required
remove unnecessary 'if (tree)' checks
svn path=/trunk/; revision=44762
2012-09-03 21:25:07 +00:00
Martin Kaiser
a3bd9a410e
add editor modelines (that match the current indentation style)
...
svn path=/trunk/; revision=44755
2012-09-03 18:37:03 +00:00
Martin Kaiser
295b919f5d
MPEG PAT: set the tree item's length == number of bytes dissected
...
don't simply assume the PAT continues until the end of the input tvb
this is similar to packet_dvb_ait.c
I'll change this for other tables shortly
svn path=/trunk/; revision=43969
2012-07-24 21:24:33 +00:00
Bill Meier
1b17369504
Fix: code under 'if(tree)' (in)directly calls sub-dissector/col_...()/expert...() fcns
...
svn path=/trunk/; revision=43226
2012-06-12 21:22:46 +00:00
Jeff Morriss
0c8b0a9f3d
Make several functions static; remove trailing commas and white space.
...
svn path=/trunk/; revision=41606
2012-03-16 13:30:12 +00:00
Anders Broman
45c342dfdb
From Weston Schmidt:
...
Update packet-mpeg-sect to support CRCs & simpler header processing for subdissectors.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6941
svn path=/trunk/; revision=41523
2012-03-13 08:57:04 +00:00
Guy Harris
55140956e8
Use the length-on-the-network, not the captured length, when deciding
...
how far to dissect.
svn path=/trunk/; revision=40978
2012-02-11 20:57:26 +00:00
Guy Harris
cd706946e5
mpeg_pat.cur_next_ind looks like a Boolean; make it one. That also
...
fixes checkapi warnings about its value_string not being properly
terminated (by replacing it with a true_false_string).
svn path=/trunk/; revision=40975
2012-02-11 20:35:03 +00:00
Anders Broman
9c731b2015
From Guy Martin:
...
Dissector for MPEG Program Association Table (PAT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6821
svn path=/trunk/; revision=40971
2012-02-11 16:44:45 +00:00