comparison libmpdemux/rtp.h @ 10281:54bcbf28698a

Networking support under MinGW. Patch by flo/yepyep <flodt8@yahoo.de>.
author diego
date Wed, 11 Jun 2003 16:48:09 +0000
parents bed6226ffb46
children befb79b0232e
comparison
equal deleted inserted replaced
10280:24145d6b5883 10281:54bcbf28698a
1 #ifndef _RTP_H 1 #ifndef _RTP_H
2 #define _RTP_H 2 #define _RTP_H
3 3
4 #include "config.h"
5 #ifndef HAVE_WINSOCK2
4 #include <sys/socket.h> 6 #include <sys/socket.h>
7 #else
8 #include <winsock2.h>
9 #endif
5 10
6 struct rtpbits { 11 struct rtpbits {
7 unsigned int v:2; /* version: 2 */ 12 unsigned int v:2; /* version: 2 */
8 unsigned int p:1; /* is there padding appended: 0 */ 13 unsigned int p:1; /* is there padding appended: 0 */
9 unsigned int x:1; /* number of extension headers: 0 */ 14 unsigned int x:1; /* number of extension headers: 0 */