ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-commits: [Wireshark-commits] rev 41863: /trunk/wiretap/ /trunk/wiretap/: mp2t.c

Date: Fri, 30 Mar 2012 23:19:49 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=41863

User: morriss
Date: 2012/03/30 04:19 PM

Log:
 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.

Directory: /trunk/wiretap/
  Changes    Path          Action
  +63 -15    mp2t.c        Modified