changeset 30648:74d39bc2b2c4

Add header for asf_mmst_streaming_start() instead of forward declaring it.
author diego
date Sun, 21 Feb 2010 23:26:16 +0000
parents cd9b192e2e2b
children 77cc0ca2c757
files stream/asf_mmst_streaming.c stream/asf_mmst_streaming.h stream/asf_streaming.c
diffstat 3 files changed, 28 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/stream/asf_mmst_streaming.c	Sun Feb 21 22:14:11 2010 +0000
+++ b/stream/asf_mmst_streaming.c	Sun Feb 21 23:26:16 2010 +0000
@@ -51,7 +51,7 @@
 #include "libmpdemux/asf.h"
 
 #include "stream.h"
-
+#include "asf_mmst_streaming.h"
 #include "network.h"
 #include "tcp.h"
 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/stream/asf_mmst_streaming.h	Sun Feb 21 23:26:16 2010 +0000
@@ -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 */
--- a/stream/asf_streaming.c	Sun Feb 21 22:14:11 2010 +0000
+++ b/stream/asf_streaming.c	Sun Feb 21 23:26:16 2010 +0000
@@ -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) {