aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/mp2t.c
AgeCommit message (Collapse)AuthorFilesLines
2012-05-05Directly calculate the time stamp based on the offset in the stream fromGuy Harris1-20/+18
the first bit in the stream. This prevents accumulated truncation errors. Get the seek offset from file_tell(). svn path=/trunk/; revision=42436
2012-04-18From Rolf Fiedler:Anders Broman1-2/+3
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-03-30From Martin Kaiser via ↵Jeff Morriss1-15/+63
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-05From Martin Kaiser:Anders Broman1-2/+3
wiretap mpeg2 ts: eof vs short read https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6909 svn path=/trunk/; revision=41350
2012-03-05From Martin Kaiser:Anders Broman1-0/+13
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-02Flag mp2t file as really having only relative time stamps. Put theGuy Harris1-0/+1
comment on its own line in mpeg.c as well. svn path=/trunk/; revision=41294
2012-03-02From Weston Schmidt: Add mpeg-ts capture file format support. ↵Anders Broman1-0/+174
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6894 svn path=/trunk/; revision=41286