[MPlayer-cvslog] r30690 - in trunk/stream: asf_mmst_streaming.c asf_mmst_streaming.h asf_streaming.c

diego subversion at mplayerhq.hu
Mon Feb 22 00:26:16 CET 2010


Author: diego
Date: Mon Feb 22 00:26:16 2010
New Revision: 30690

Log:
Add header for asf_mmst_streaming_start() instead of forward declaring it.

Added:
   trunk/stream/asf_mmst_streaming.h
Modified:
   trunk/stream/asf_mmst_streaming.c
   trunk/stream/asf_streaming.c

Modified: trunk/stream/asf_mmst_streaming.c
==============================================================================
--- trunk/stream/asf_mmst_streaming.c	Sun Feb 21 23:14:11 2010	(r30689)
+++ trunk/stream/asf_mmst_streaming.c	Mon Feb 22 00:26:16 2010	(r30690)
@@ -51,7 +51,7 @@
 #include "libmpdemux/asf.h"
 
 #include "stream.h"
-
+#include "asf_mmst_streaming.h"
 #include "network.h"
 #include "tcp.h"
 

Added: trunk/stream/asf_mmst_streaming.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/stream/asf_mmst_streaming.h	Mon Feb 22 00:26:16 2010	(r30690)
@@ -0,0 +1,26 @@
+/*
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with MPlayer; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
+#ifndef MPLAYER_ASF_MMST_STREAMING_H
+#define MPLAYER_ASF_MMST_STREAMING_H
+
+#include "stream.h"
+
+int asf_mmst_streaming_start(stream_t *stream);
+
+#endif /* MPLAYER_ASF_MMST_STREAMING_H */

Modified: trunk/stream/asf_streaming.c
==============================================================================
--- trunk/stream/asf_streaming.c	Sun Feb 21 23:14:11 2010	(r30689)
+++ trunk/stream/asf_streaming.c	Mon Feb 22 00:26:16 2010	(r30690)
@@ -37,7 +37,7 @@
 
 #include "stream.h"
 #include "libmpdemux/demuxer.h"
-
+#include "asf_mmst_streaming.h"
 #include "network.h"
 #include "tcp.h"
 
@@ -47,7 +47,6 @@
 
 extern int network_bandwidth;
 
-int asf_mmst_streaming_start( stream_t *stream );
 static int asf_http_streaming_start(stream_t *stream, int *demuxer_type);
 
 static int asf_read_wrapper(int fd, void *buffer, int len, streaming_ctrl_t *stream_ctrl) {


More information about the MPlayer-cvslog mailing list