Fix typo
[rfmod.git] / rfmod.h
blob7fffa68be75755f6f9f46f669223093b5f82854c
1 #ifndef RFMUX_H
2 #define RFMUX_H
4 #define BUFFER_TS_PACKETS 10
5 #define TS_PACKET_SIZE 188
6 #define MAX_PACKET_SIZE (BUFFER_TS_PACKETS * TS_PACKET_SIZE)
7 #define SOCKET_BUFFER (1024*1024)
9 #define RTP_PT_MP2T 33 /* RFC2250 */
11 #define RTP_PT_OFF 1
12 #define RTP_VERSION_OFF 0
13 #define RTP_SEQ_OFF 2
14 #define RTP_TSTAMP_OFF 4
15 #define RTP_SSRC_OFF 8
17 #define RTP_HEADROOM 12
19 #define DVB_PID_MAX 0x2000
20 #define SECTION_SIZE 4096
22 #define DVB_SYNC 0x47
24 #define DEBUG
26 #ifdef DEBUG
27 #define dprintf printf
28 #else
29 #define dprintf( a... )
30 #endif
32 #endif