summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-02-21 23:26:16 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-02-21 23:26:16 +0000
commit326397d81558d229c9c616355c74b00a4b663574 (patch)
treef466c4f4a40b8af6a989a306375b5ed9450a33cd /stream
parent4d6d2665219d7a8c5b975001b7a4e121066e92f9 (diff)
downloadmpv-326397d81558d229c9c616355c74b00a4b663574.tar.bz2
mpv-326397d81558d229c9c616355c74b00a4b663574.tar.xz
Add header for asf_mmst_streaming_start() instead of forward declaring it.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30690 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream')
-rw-r--r--stream/asf_mmst_streaming.c2
-rw-r--r--stream/asf_mmst_streaming.h26
-rw-r--r--stream/asf_streaming.c3
3 files changed, 28 insertions, 3 deletions
diff --git a/stream/asf_mmst_streaming.c b/stream/asf_mmst_streaming.c
index 73eed7c43e..4caf79856a 100644
--- a/stream/asf_mmst_streaming.c
+++ b/stream/asf_mmst_streaming.c
@@ -51,7 +51,7 @@
#include "libmpdemux/asf.h"
#include "stream.h"
-
+#include "asf_mmst_streaming.h"
#include "network.h"
#include "tcp.h"
diff --git a/stream/asf_mmst_streaming.h b/stream/asf_mmst_streaming.h
new file mode 100644
index 0000000000..204cf0a450
--- /dev/null
+++ b/stream/asf_mmst_streaming.h
@@ -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 */
diff --git a/stream/asf_streaming.c b/stream/asf_streaming.c
index df93352388..f00f503372 100644
--- a/stream/asf_streaming.c
+++ b/stream/asf_streaming.c
@@ -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) {