ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Wireshark-dev: [Wireshark-dev] [PATCH] RTP with MP2T payload bug fix

From: "Mark Lewis" <mlewis@xxxxxxxxxx>
Date: Thu, 8 Feb 2007 12:41:06 -0000
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. It has
been tested on Windows only.

The attached capture shows the problem. Packet 5 is shown as malformed
before the patch is applied, and is correctly dissected after the patch.

Thanks,

Mark

Attachment: mp2_ts_error.pcap.gz
Description: mp2_ts_error.pcap.gz

Attachment: mpeg2ts_af_bug.patch.gz
Description: mpeg2ts_af_bug.patch.gz