summaryrefslogtreecommitdiffstats
path: root/libmpdemux/rtp.h
diff options
context:
space:
mode:
authorben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-07-31 17:39:17 +0000
committerben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-07-31 17:39:17 +0000
commit49867bd432352d19172ab26cf873bd5651e69e25 (patch)
treec2d419bb4f81564036baa12832a44b8aac27c6d1 /libmpdemux/rtp.h
parentd3b998da64927403879ad588287c178f86b7c849 (diff)
downloadmpv-49867bd432352d19172ab26cf873bd5651e69e25.tar.bz2
mpv-49867bd432352d19172ab26cf873bd5651e69e25.tar.xz
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19277 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux/rtp.h')
-rw-r--r--libmpdemux/rtp.h38
1 files changed, 0 insertions, 38 deletions
diff --git a/libmpdemux/rtp.h b/libmpdemux/rtp.h
deleted file mode 100644
index c244eff2f4..0000000000
--- a/libmpdemux/rtp.h
+++ /dev/null
@@ -1,38 +0,0 @@
-/* Imported from the dvbstream project
- *
- * Modified for use with MPlayer, for details see the changelog at
- * http://svn.mplayerhq.hu/mplayer/trunk/
- * $Id$
- */
-
-#ifndef _RTP_H
-#define _RTP_H
-
-#include "config.h"
-#ifndef HAVE_WINSOCK2
-#include <sys/socket.h>
-#else
-#include <winsock2.h>
-#endif
-
-struct rtpbits {
- unsigned int v:2; /* version: 2 */
- unsigned int p:1; /* is there padding appended: 0 */
- unsigned int x:1; /* number of extension headers: 0 */
- unsigned int cc:4; /* number of CSRC identifiers: 0 */
- unsigned int m:1; /* marker: 0 */
- unsigned int pt:7; /* payload type: 33 for MPEG2 TS - RFC 1890 */
- unsigned int sequence:16; /* sequence number: random */
-};
-
-struct rtpheader { /* in network byte order */
- struct rtpbits b;
- int timestamp; /* start: random */
- int ssrc; /* random */
-};
-
-
-static int getrtp2(int fd, struct rtpheader *rh, char** data, int* lengthData);
-int read_rtp_from_server(int fd, char *buffer, int length);
-
-#endif