Commit graph

18 commits

Author SHA1 Message Date
Stig Bjørlykke
b228488bc0 From Kovarththanan Rajaratnam via bug 3548:
(1) Trailing/leading spaces are removed from 'name's/'blurb's
(2) Duplicate 'blurb's are replaced with NULL
(3) Empty ("") 'blurb's are replaced with NULL
(4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields
    for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME,
    FT_PROTOCOL, FT_STRING and FT_STRINGZ field types
(5) Only allow non-zero value for 'display' if 'bitmask' is non-zero

svn path=/trunk/; revision=28770
2009-06-18 21:30:42 +00:00
Jörg Mayer
af417beb8e Warningfix:
function() -> function(void)

svn path=/trunk/; revision=28302
2009-05-08 15:16:07 +00:00
Martin Mathieson
6cc0cf8456 Initialise a variable to prevent a warning (that looks invalid to me).
svn path=/trunk/; revision=27892
2009-03-30 09:34:15 +00:00
Bill Meier
808a4e2c3c Define certain fcns as static (if not used externally).
Also: whiule we're at it: 
 - fix hf[] blurbs as appropriate to use NULL;
 - fix some indentation

svn path=/trunk/; revision=27890
2009-03-29 22:16:26 +00:00
Bill Meier
90b9182895 From Peter <pva At gentoo.org>: Fix build err: "variable 'payload_len' might be clobbered by 'longjmp' or 'vfork'"
Fixes Bug #3353

svn path=/trunk/; revision=27856
2009-03-26 22:34:53 +00:00
Guy Harris
c690a24816 Fix warning on Solaris/GCC about setjmp/longjmp.
svn path=/trunk/; revision=27486
2009-02-19 09:23:34 +00:00
Anders Broman
df6d3da586 Signed-off-by: Jesper Dangaard Brouer <hawk@comx.dk>
Reviewed-by: Martin Philip Topholm <mph@comx.dk>

Implement packet loss detection in for MPEG2 Transport Streams 
Second Part of https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3227

svn path=/trunk/; revision=27381
2009-02-05 21:02:50 +00:00
Anders Broman
48bf9f396e Signed-off-by: Jesper Dangaard Brouer <hawk@comx.dk>
Reviewed-by: Martin Philip Topholm <mph@comx.dk>

Exception handling in packet-mp2t.c (MPEG2 Transport Stream)
Part of https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3227

svn path=/trunk/; revision=27380
2009-02-05 19:12:44 +00:00
Bill Meier
734095db7a Use dissector_add_handle rather than registering to UDP port 0
svn path=/trunk/; revision=26911
2008-12-04 16:08:03 +00:00
Jaap Keuter
53708b2c85 Let the dissector call its subdissectors, even when tree==NULL.
svn path=/trunk/; revision=26409
2008-10-10 17:55:51 +00:00
Anders Broman
1742b395c1 From : Mike Kazmier:
Fixes for two bugs dealing with adaption fields in MPEG2 Transport Streams (packet-mp2t.c)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2946

svn path=/trunk/; revision=26398
2008-10-10 09:17:26 +00:00
Jaap Keuter
852d928901 Make mpeg2ts over UDP possible. Heuristic and Decode as.
svn path=/trunk/; revision=23743
2007-12-04 07:11:38 +00:00
Stig Bjørlykke
fb082a9a3c From Shaun Jackman:
* asn1/mpeg/packet-mpeg-pes-template.c (proto_register_mpeg_pes):
	Register the dissectors mpeg and mpeg-pes.
	* epan/dissectors/packet-mp2t.c (dissect_tsp): Call the mpeg-pes
	dissector.
	(ett_mp2t_header, ett_mp2t_af): New subtree identifiers.

svn path=/trunk/; revision=22650
2007-08-25 00:50:20 +00:00
Guy Harris
5a43799a17 Use G_GINT64_MODIFIER, rather than the PRI[douxX]64 macros, for GLib
routines and routines using those routines.  GLib might use different
modifiers for 64-bit quantities than the platform's C library does.

svn path=/trunk/; revision=21990
2007-05-29 18:52:42 +00:00
Stephen Fisher
fe0e340bff From Mark Lewis:
The current RTP/MPEG2 Transport Stream dissector has a bug. When both
Adaptation Field and Payload are present in a packet (AFC==3) the
payload is ignored and Wireshark marks the packet as malformed.
This patch to epan/dissectors/packet-mp2t.c fixes the problem.


svn path=/trunk/; revision=20910
2007-02-23 21:31:11 +00:00
Bill Meier
103bf29730 Continuing the tradition: squelch some compiler warnings ....
svn path=/trunk/; revision=20866
2007-02-19 22:29:23 +00:00
Guy Harris
c0540294d7 Don't use %ld for guint64 - use PRIu64. (Also, don't use %d for guint32
- use %u.)

svn path=/trunk/; revision=19036
2006-08-26 00:03:59 +00:00
Anders Broman
2976f89507 From Erwin Rol:
this patch adds support for MPEG2 transport stream packets in RTP (type 
MP2T). It currently dissects the headers of the MPEG2 packets

svn path=/trunk/; revision=19023
2006-08-25 05:49:37 +00:00