aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-mp2t.h
blob: 219b7f9ef783df3abbd443c4c380343053c3cada (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/* packet-mp2t.h
 *
 * Routines for RFC 2250 MPEG2 (ISO/IEC 13818-1) Transport Stream dissection
 *
 * Copyright 2006, Erwin Rol <erwin@erwinrol.com>
 * Copyright 2012-2014, Guy Martin <gmsoft@tuxicoman.be>
 *
 * Wireshark - Network traffic analyzer
 * By Gerald Combs <gerald@wireshark.org>
 * Copyright 1998 Gerald Combs
 *
 * SPDX-License-Identifier: GPL-2.0-or-later
 */

#ifndef __PACKET_MP2T_H__
#define __PACKET_MP2T_H__

/* The MPEG2 TS packet size */
#define MP2T_PACKET_SIZE 188
#define MP2T_SYNC_BYTE   0x47

extern void
mp2t_add_stream_type(packet_info *pinfo, guint32 pid, guint32 stream_type);

#endif /* __PACKET_MP2T_H__ */