wiretap mpeg2 ts: more thorough check for sync byte
This issue was migrated from bug 6908 in our old bug tracker.
Original bug information:
Reporter: Martin Kaiser
Status: RESOLVED FIXED
Product: Wireshark
Component: GTK+ UI
OS: All
Platform: x86
Version: Git
Attachments:
mp2t_checkSync.patch: check for sync byte in 10 consecutive packets
fake.ts: invalid ts, 0x47 near the start but no real ts packets
8packetsOk.ts: valid ts, 8 packets
20packetsOk.ts: valid ts, 20 packets
8.xxPacketsOk.ts: valid ts, 8 packets, 9th packet partly cut off