Guy Harris
1fc695a022
Directly calculate the time stamp based on the offset in the stream from
...
the first bit in the stream. This prevents accumulated truncation
errors.
Get the seek offset from file_tell().
svn path=/trunk/; revision=42436
2012-05-05 02:52:41 +00:00
Anders Broman
ec0c5baf4f
From Rolf Fiedler:
...
patch to fix mp2t.c to reject more byte streams that are not MPEG2.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7132
svn path=/trunk/; revision=42127
2012-04-18 08:32:12 +00:00
Jeff Morriss
a572670849
From Martin Kaiser via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6984 :
...
The attached patch extends the mpeg2 ts format detection to take into account
that trailing bytes might be added to each packet.
Once it finds no sync after 188 bytes, it checks an additional 40 bytes for the
next sync byte and adjusts the packet size accordingly.
Only the 188 bytes of the actual ts packet are passed on to wiretap, the
trailer is omitted.
svn path=/trunk/; revision=41863
2012-03-30 23:19:49 +00:00
Anders Broman
995e10ef36
From Martin Kaiser:
...
wiretap mpeg2 ts: eof vs short read
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6909
svn path=/trunk/; revision=41350
2012-03-05 08:34:36 +00:00
Anders Broman
4db442ab90
From Martin Kaiser:
...
wiretap mpeg2 ts: more thorough check for sync byte.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6908
svn path=/trunk/; revision=41349
2012-03-05 08:30:39 +00:00
Guy Harris
57839d9e4a
Flag mp2t file as really having only relative time stamps. Put the
...
comment on its own line in mpeg.c as well.
svn path=/trunk/; revision=41294
2012-03-02 10:17:36 +00:00
Anders Broman
e82ad19e58
From Weston Schmidt: Add mpeg-ts capture file format support. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6894
...
svn path=/trunk/; revision=41286
2012-03-02 06:02:28 +00:00