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) {